From cc4e0ccd65d587e86cb0e1709ea9017ccbb22d44 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 01:32:11 -0500 Subject: [PATCH 01/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index eacf7cd..ae3bd8c 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,7 +1,7 @@ Name: vxl Version: 1.17.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -248,6 +248,9 @@ ctest . %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.17.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Mon Mar 04 2013 Mario Ceresa mrceresa fedoraproject org vxl 1.17.0-11 - Applied upstream patches (25, 26) to ensure compatibility with ITK From 87027fce5a80690fea48e76f6431283e56243b17 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 23:06:42 -0500 Subject: [PATCH 02/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index ae3bd8c..7282cba 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,7 +1,7 @@ Name: vxl Version: 1.17.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -248,6 +248,9 @@ ctest . %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 1.17.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 1.17.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From f56efe69840678168de050f0c0d2d8c9dc058d17 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 08:13:19 +0000 Subject: [PATCH 03/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 7282cba..4c2cf43 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,7 +1,7 @@ Name: vxl Version: 1.17.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -248,6 +248,9 @@ ctest . %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 1.17.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 1.17.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 4ef49c0553ec3f8574e31501af8465a0ebd9217b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Devrim=20G=C3=BCnd=C3=BCz?= Date: Mon, 25 Aug 2014 15:47:05 +0300 Subject: [PATCH 04/74] - Rebuilt for libgeotiff --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 4c2cf43..fae9c2b 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,7 +1,7 @@ Name: vxl Version: 1.17.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -248,6 +248,9 @@ ctest . %changelog +* Mon Aug 25 2014 Devrim Gündüz - 1.17.0-15 +- Rebuilt for libgeotiff + * Mon Aug 18 2014 Fedora Release Engineering - 1.17.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 1764c9386113fe369ef2a26aefe9035711c96c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Mon, 16 Feb 2015 05:47:14 +0100 Subject: [PATCH 05/74] Add vxl-0.17.0-gcc5.diff (Work-around GCC-5.0.0 FTBFS RHBZ#1192886). - Fix bogus %changelog date. --- vxl-0.17.0-gcc5.diff | 13 +++++++++++++ vxl.spec | 11 ++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 vxl-0.17.0-gcc5.diff diff --git a/vxl-0.17.0-gcc5.diff b/vxl-0.17.0-gcc5.diff new file mode 100644 index 0000000..5fc0270 --- /dev/null +++ b/vxl-0.17.0-gcc5.diff @@ -0,0 +1,13 @@ +--- vxl-git4e07960/vcl/vcl_compiler.h~ 2012-11-02 12:08:21.000000000 +0100 ++++ vxl-git4e07960/vcl/vcl_compiler.h 2015-02-15 13:50:46.376329878 +0100 +@@ -119,6 +119,10 @@ + # else + # define VCL_GCC_40 + # endif ++# elif (__GNUC__== 5) ++// pretend GCC 5 to be GCC 4 ++# define VCL_GCC_4 ++# define VCL_GCC_41 + # else + # error "Dunno about this gcc" + # endif diff --git a/vxl.spec b/vxl.spec index fae9c2b..f6deb42 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,7 +1,6 @@ - Name: vxl Version: 1.17.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -38,6 +37,7 @@ Patch24: 0024-Added-missing-sonames-for-mvl2-and-vepl1.patch Patch25: 0025-Legacy-def1-r35963.patch Patch26: 0026-Legacy-def2-r36001.patch +Patch50: vxl-0.17.0-gcc5.diff Patch100: %{name}-1.17.0-secondary.patch @@ -154,6 +154,7 @@ find contrib/brl/b3p/expatpp -type f ! -name 'CMakeLists.txt' -execdir rm {} + %patch24 -p1 %patch25 -p1 %patch26 -p1 +%patch50 -p1 %patch100 -p1 -b .secondary @@ -248,6 +249,10 @@ ctest . %changelog +* Mon Feb 16 2015 Ralf Corsépius - 0.17.0-16 +- Add vxl-0.17.0-gcc5.diff (Work-around GCC-5.0.0 FTBFS RHBZ#1192886). +- Fix bogus %%changelog date. + * Mon Aug 25 2014 Devrim Gündüz - 1.17.0-15 - Rebuilt for libgeotiff @@ -325,6 +330,6 @@ ctest . * Tue Mar 2 2010 Mario Ceresa mrceresa fedoraproject org vxl 1.13.0-2%{?dist} - Applied patch from debian distribution to force the generation of versioned lib -* Sat Feb 19 2010 Mario Ceresa mrceresa fedoraproject org vxl 1.13.0-1%{?dist} +* Fri Feb 19 2010 Mario Ceresa mrceresa fedoraproject org vxl 1.13.0-1%{?dist} - Initial RPM Release From 766b677f72b8ad13871ef9787f8bfa0bb47e916d Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 18 May 2015 15:48:47 -0600 Subject: [PATCH 06/74] Rebuilt using hardened build flags: https://fedoraproject.org/wiki/Changes/Harden_All_Packages --- vxl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vxl.spec b/vxl.spec index f6deb42..f93a4ab 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 16%{?dist} +Release: 17%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -202,7 +202,7 @@ find . -name "*.txx" | xargs chmod ugo-x -DBUILD_TESTING:BOOL=OFF \ -DBUILD_DOCUMENTATION:BOOL=ON \ -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ - -DCMAKE_CXX_FLAGS:STRING="-fpermissive" \ + -DCMAKE_CXX_FLAGS:STRING="$RPM_OPT_FLAGS -fpermissive" \ -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so \ -DVNL_CONFIG_LEGACY_METHODS=ON . @@ -249,6 +249,9 @@ ctest . %changelog +* Sat May 16 2015 Sebastian Pölsterl - 1.17.0-17 +- Rebuilt using hardened build flags: https://fedoraproject.org/wiki/Changes/Harden_All_Packages + * Mon Feb 16 2015 Ralf Corsépius - 0.17.0-16 - Add vxl-0.17.0-gcc5.diff (Work-around GCC-5.0.0 FTBFS RHBZ#1192886). - Fix bogus %%changelog date. From 5bbb34d5af064b86b5ec8cc68bbb71b515729541 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 02:11:21 +0000 Subject: [PATCH 07/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index f93a4ab..092bc0c 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 17%{?dist} +Release: 18%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -249,6 +249,9 @@ ctest . %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.17.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat May 16 2015 Sebastian Pölsterl - 1.17.0-17 - Rebuilt using hardened build flags: https://fedoraproject.org/wiki/Changes/Harden_All_Packages From d4a522f78ff1b268de06b625782d9025f17afd72 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:52:18 +0000 Subject: [PATCH 08/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 092bc0c..f27a608 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 18%{?dist} +Release: 19%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -249,6 +249,9 @@ ctest . %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 1.17.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 1.17.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From c08ad8602996ab09f8b5bed4672352a3f1d03d68 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 26 Feb 2016 09:01:42 -0500 Subject: [PATCH 09/74] fix 1.17.0 build with gcc 6, remove non-free lena file --- .gitignore | 1 + sources | 2 +- vxl-1.17.0-gcc6.patch | 70 +++++++++++++++++++++++++++++++++++++++++++ vxl.spec | 15 ++++++++-- 4 files changed, 85 insertions(+), 3 deletions(-) create mode 100644 vxl-1.17.0-gcc6.patch diff --git a/.gitignore b/.gitignore index c1125b0..f97538c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vxl-1.17.0.tar.gz +/vxl-1.17.0-clean.tar.gz diff --git a/sources b/sources index 2c4a8e4..90f5730 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -09666d317aa8103178bee561e4f24502 vxl-1.17.0.tar.gz +99b44265df5a638b7757135cb4f10166 vxl-1.17.0-clean.tar.gz diff --git a/vxl-1.17.0-gcc6.patch b/vxl-1.17.0-gcc6.patch new file mode 100644 index 0000000..e12330e --- /dev/null +++ b/vxl-1.17.0-gcc6.patch @@ -0,0 +1,70 @@ +diff -up vxl-git4e07960/core/vnl/io/CMakeLists.txt.gcc6 vxl-git4e07960/core/vnl/io/CMakeLists.txt +--- vxl-git4e07960/core/vnl/io/CMakeLists.txt.gcc6 2016-02-25 15:41:15.829447406 -0500 ++++ vxl-git4e07960/core/vnl/io/CMakeLists.txt 2016-02-25 15:41:29.558366867 -0500 +@@ -22,7 +22,7 @@ AUX_SOURCE_DIRECTORY(Templates vnl_io_so + IF(CMAKE_COMPILER_IS_GNUCXX) + SET_SOURCE_FILES_PROPERTIES(Templates/vsl_vector_io+vcl_vector+vcl_vector+vnl_vector+double----.cxx + PROPERTIES +- COMPILE_FLAGS -ftemplate-depth-35) ++ COMPILE_FLAGS -ftemplate-depth=70) + ENDIF(CMAKE_COMPILER_IS_GNUCXX) + + ADD_LIBRARY(vnl_io ${vnl_io_sources} ) +diff -up vxl-git4e07960/core/vul/vul_psfile.h.gcc6 vxl-git4e07960/core/vul/vul_psfile.h +--- vxl-git4e07960/core/vul/vul_psfile.h.gcc6 2012-11-02 07:08:21.000000000 -0400 ++++ vxl-git4e07960/core/vul/vul_psfile.h 2016-02-25 15:27:18.435360448 -0500 +@@ -37,7 +37,7 @@ class vul_psfile: public vcl_ofstream + + vul_psfile(char const* filename, bool debug_output=false); + ~vul_psfile(); +- operator bool() { return (void*)output_filestream!=(void*)0; } ++ operator bool() { return reinterpret_cast(&output_filestream)!=(void*)0; } + + void set_paper_type(vul_psfile::paper_type type){printer_paper_type = type;} + void set_paper_layout(vul_psfile::paper_layout layout) {printer_paper_layout = layout;} +diff -up vxl-git4e07960/vcl/vcl_compiler.h.gcc6 vxl-git4e07960/vcl/vcl_compiler.h +--- vxl-git4e07960/vcl/vcl_compiler.h.gcc6 2016-02-25 15:10:56.252121833 -0500 ++++ vxl-git4e07960/vcl/vcl_compiler.h 2016-02-25 15:10:56.254121822 -0500 +@@ -119,8 +119,8 @@ + # else + # define VCL_GCC_40 + # endif +-# elif (__GNUC__== 5) +-// pretend GCC 5 to be GCC 4 ++# elif (__GNUC__>5) ++// pretend GCC 5+ to be GCC 4 + # define VCL_GCC_4 + # define VCL_GCC_41 + # else +diff -up vxl-git4e07960/contrib/mul/tools/crop_image_2d.cxx.gcc6 vxl-git4e07960/contrib/mul/tools/crop_image_2d.cxx +--- vxl-git4e07960/contrib/mul/tools/crop_image_2d.cxx.gcc6 2016-02-25 16:34:20.892977826 -0500 ++++ vxl-git4e07960/contrib/mul/tools/crop_image_2d.cxx 2016-02-25 17:23:52.435971926 -0500 +@@ -15,6 +15,12 @@ + #include + #include + ++// not at all sure this is right, but it gets this past gcc 6. ++ ++vcl_ostream& operator <<( vcl_ostream &a, vcl_ostream &b) { ++a << b; ++return a; ++} + + //========================================================================= + // Static function to create a static logger when first required +diff -up vxl-git4e07960/contrib/mul/tools/crop_image_3d.cxx.gcc6 vxl-git4e07960/contrib/mul/tools/crop_image_3d.cxx +--- vxl-git4e07960/contrib/mul/tools/crop_image_3d.cxx.gcc6 2016-02-25 17:15:12.591046600 -0500 ++++ vxl-git4e07960/contrib/mul/tools/crop_image_3d.cxx 2016-02-25 17:24:15.283836790 -0500 +@@ -19,6 +19,12 @@ + #include + #include + ++// not at all sure this is right, but it gets this past gcc 6. ++ ++vcl_ostream& operator <<( vcl_ostream &a, vcl_ostream &b) { ++ a << b; ++ return a; ++} + + //========================================================================= + // Static function to create a static logger when first required diff --git a/vxl.spec b/vxl.spec index f27a608..93fb920 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,11 +1,16 @@ Name: vxl Version: 1.17.0 -Release: 19%{?dist} +Release: 20%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD URL: http://vxl.sourceforge.net/ -Source0: http://downloads.sourceforge.net/project/vxl/vxl/1.17/vxl-1.17.0.tar.gz +# Need to remove the non-free lena image from the sources +# tar xf vxl-1.17.0.tar.gz +# rm -rf vxl-git4e07960/contrib/prip/vdtop/tests/lena.org.pgm +# tar cfz vxl-1.17.0-clean.tar.gz vxl-git4e07960/ +# Source0: http://downloads.sourceforge.net/project/vxl/vxl/1.17/vxl-1.17.0.tar.gz +Source0: %{name}-%{version}-clean.tar.gz Source2: https://vxl.svn.sourceforge.net/svnroot/vxl/trunk/core/vxl_copyright.h # Fedora has a distribution-specific include dir Patch1: 0001-Added-include-path-for-geotiff.patch @@ -38,6 +43,7 @@ Patch25: 0025-Legacy-def1-r35963.patch Patch26: 0026-Legacy-def2-r36001.patch Patch50: vxl-0.17.0-gcc5.diff +Patch51: vxl-1.17.0-gcc6.patch Patch100: %{name}-1.17.0-secondary.patch @@ -155,6 +161,7 @@ find contrib/brl/b3p/expatpp -type f ! -name 'CMakeLists.txt' -execdir rm {} + %patch25 -p1 %patch26 -p1 %patch50 -p1 +%patch51 -p1 -b .gcc6 %patch100 -p1 -b .secondary @@ -249,6 +256,10 @@ ctest . %changelog +* Thu Feb 25 2016 Tom Callaway - 1.17.0-20 +- remove non-free lena image file from source tarball (bz1310388) +- fix FTBFS (bz1303695, bz1308234) + * Fri Feb 05 2016 Fedora Release Engineering - 1.17.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 72e999b5f81905f2336d07aecf4b5cec60aee94c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:13:32 +0000 Subject: [PATCH 10/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 93fb920..00b98a5 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 20%{?dist} +Release: 21%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -256,6 +256,9 @@ ctest . %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.17.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Feb 25 2016 Tom Callaway - 1.17.0-20 - remove non-free lena image file from source tarball (bz1310388) - fix FTBFS (bz1303695, bz1308234) From dbb9ca81d8843698112dc145f5278de6754875a1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 15 May 2017 19:50:12 +0000 Subject: [PATCH 11/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 00b98a5..9354198 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 21%{?dist} +Release: 22%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -256,6 +256,9 @@ ctest . %changelog +* Mon May 15 2017 Fedora Release Engineering - 1.17.0-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 1.17.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 41453c1628c0ca9a09ea618b879e40923de786db Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:27:44 +0000 Subject: [PATCH 12/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 9354198..4b7289e 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 22%{?dist} +Release: 23%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -256,6 +256,9 @@ ctest . %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.17.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Mon May 15 2017 Fedora Release Engineering - 1.17.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild From db7f163508b595c36decffc19b9612a28c57dd07 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 10:10:13 +0000 Subject: [PATCH 13/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 4b7289e..6c9aadc 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 23%{?dist} +Release: 24%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -256,6 +256,9 @@ ctest . %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.17.0-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 1.17.0-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 08a2f81fa29b2993fe02232d8742c4d4c117f3b7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:42:37 +0000 Subject: [PATCH 14/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 6c9aadc..9ea75d4 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 24%{?dist} +Release: 25%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -256,6 +256,9 @@ ctest . %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.17.0-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 1.17.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 9b2b5100f055f44183a2b545233f5b8179fd7075 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 08:58:15 +0100 Subject: [PATCH 15/74] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- vxl.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/vxl.spec b/vxl.spec index 9ea75d4..3b49666 100644 --- a/vxl.spec +++ b/vxl.spec @@ -228,9 +228,6 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -%clean -rm -rf $RPM_BUILD_ROOT - %check ctest . From 4dc19d06529b99f10327fce7e0301ed61ce87000 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 7 Mar 2018 20:57:45 -0800 Subject: [PATCH 16/74] Rebuild to fix GCC 8 mis-compilation See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") --- vxl.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 3b49666..197fa4b 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 25%{?dist} +Release: 26%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -253,6 +253,10 @@ ctest . %changelog +* Wed Mar 07 2018 Adam Williamson - 1.17.0-26 +- Rebuild to fix GCC 8 mis-compilation + See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") + * Fri Feb 09 2018 Fedora Release Engineering - 1.17.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 2c09aa039f7458af62dac32750abf2d182f15687 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:53 +0200 Subject: [PATCH 17/74] add BuildRequires: gcc-c++,gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- vxl.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vxl.spec b/vxl.spec index 197fa4b..050d5a8 100644 --- a/vxl.spec +++ b/vxl.spec @@ -51,6 +51,8 @@ Patch100: %{name}-1.17.0-secondary.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: doxygen BuildRequires: expat-devel From 98e8128cfb507b23f65d5f8968c61f074bd08715 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:41:32 +0000 Subject: [PATCH 18/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 050d5a8..86e6ff4 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 26%{?dist} +Release: 27%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -255,6 +255,9 @@ ctest . %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.17.0-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Mar 07 2018 Adam Williamson - 1.17.0-26 - Rebuild to fix GCC 8 mis-compilation See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") From b9a8543028f8fb59bb916c1239991ff886328987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Novotn=C3=BD?= Date: Tue, 28 Aug 2018 11:39:35 +0200 Subject: [PATCH 19/74] Update dependency to minizip-compat(-devel) Related: rhbz#1609830, rhbz#1615381 --- vxl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vxl.spec b/vxl.spec index 86e6ff4..417500d 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 27%{?dist} +Release: 28%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation Group: Development/Libraries License: BSD @@ -73,7 +73,7 @@ BuildRequires: libdc1394-devel %endif BuildRequires: libgeotiff-devel BuildRequires: libjpeg-turbo-devel -BuildRequires: minizip-devel +BuildRequires: minizip-compat-devel BuildRequires: rply-devel BuildRequires: SIMVoleon-devel BuildRequires: shapelib-devel @@ -255,6 +255,9 @@ ctest . %changelog +* Tue Aug 28 2018 Patrik Novotný - 1.17.0-28 +- change requires to minizip-compat(-devel), rhbz#1609830, rhbz#1615381 + * Sat Jul 14 2018 Fedora Release Engineering - 1.17.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 1a1692469ccb27ff31a9e2ac127521becb82c75a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:18 +0100 Subject: [PATCH 20/74] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- vxl.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vxl.spec b/vxl.spec index 417500d..f475d17 100644 --- a/vxl.spec +++ b/vxl.spec @@ -233,9 +233,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %check ctest . -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc core/vxl_copyright.h From b75090409c5aa31c723ab46102419619be645eff Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:30 +0100 Subject: [PATCH 21/74] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- vxl.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/vxl.spec b/vxl.spec index f475d17..32c1126 100644 --- a/vxl.spec +++ b/vxl.spec @@ -2,7 +2,6 @@ Name: vxl Version: 1.17.0 Release: 28%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation -Group: Development/Libraries License: BSD URL: http://vxl.sourceforge.net/ # Need to remove the non-free lena image from the sources @@ -93,7 +92,6 @@ platforms. %package doc Summary: Documentation for VXL library -Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch @@ -104,7 +102,6 @@ have all the documentation %package devel Summary: Headers and development libraries for VXL -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel From d7d547aca1a0a5b4638dd794dabad152366adc24 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 29 Jan 2019 05:36:39 +0100 Subject: [PATCH 22/74] Remove obsolete BuildRoot tag Signed-off-by: Igor Gnatenko --- vxl.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 32c1126..41e3714 100644 --- a/vxl.spec +++ b/vxl.spec @@ -48,7 +48,6 @@ Patch100: %{name}-1.17.0-secondary.patch #KL is used in an "UNMAINTAINED_LIBRARY", vgel is only built on request -Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc BuildRequires: gcc-c++ From 3aa2a912aa235ae18aeb54f1e151bf6b90bff31f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:29:50 +0000 Subject: [PATCH 23/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 41e3714..a1ed549 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 28%{?dist} +Release: 29%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation License: BSD URL: http://vxl.sourceforge.net/ @@ -249,6 +249,9 @@ ctest . %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 1.17.0-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Tue Aug 28 2018 Patrik Novotný - 1.17.0-28 - change requires to minizip-compat(-devel), rhbz#1609830, rhbz#1615381 From 7efbca912d3a07f8d5eb22569932913fcdef4655 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sun, 17 Feb 2019 12:26:39 +0000 Subject: [PATCH 24/74] Rebuild --- vxl.spec | 265 ++++++++++++++++++++++++------------------------------- 1 file changed, 117 insertions(+), 148 deletions(-) diff --git a/vxl.spec b/vxl.spec index a1ed549..634ea6c 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,107 +1,107 @@ -Name: vxl -Version: 1.17.0 -Release: 29%{?dist} -Summary: C++ Libraries for Computer Vision Research and Implementation -License: BSD -URL: http://vxl.sourceforge.net/ +Name: vxl +Version: 1.17.0 +Release: 30%{?dist} +Summary: C++ Libraries for Computer Vision Research and Implementation +License: BSD +URL: http://vxl.sourceforge.net/ # Need to remove the non-free lena image from the sources # tar xf vxl-1.17.0.tar.gz -# rm -rf vxl-git4e07960/contrib/prip/vdtop/tests/lena.org.pgm +# rm -rf vxl-git4e07960/contrib/prip/vdtop/tests/lena.org.pgm # tar cfz vxl-1.17.0-clean.tar.gz vxl-git4e07960/ -# Source0: http://downloads.sourceforge.net/project/vxl/vxl/1.17/vxl-1.17.0.tar.gz -Source0: %{name}-%{version}-clean.tar.gz -Source2: https://vxl.svn.sourceforge.net/svnroot/vxl/trunk/core/vxl_copyright.h +# Source0: http://downloads.sourceforge.net/project/vxl/vxl/1.17/vxl-1.17.0.tar.gz +Source0: %{name}-%{version}-clean.tar.gz +Source2: https://vxl.svn.sourceforge.net/svnroot/vxl/trunk/core/vxl_copyright.h # Fedora has a distribution-specific include dir -Patch1: 0001-Added-include-path-for-geotiff.patch -Patch2: 0002-Added-soname-info-for-core-libraries.patch +Patch1: 0001-Added-include-path-for-geotiff.patch +Patch2: 0002-Added-soname-info-for-core-libraries.patch # Use system rply and don't use mpeg2 -Patch3: 0003-Use-system-rply.patch -Patch4: 0004-Added-more-soname.patch -Patch5: 0005-Do-not-build-OUL.patch -Patch6: 0006-BUG-rplyConfig.cmake-has-wrong-include-path.patch -Patch7: 0007-Arguments-of-ply_open-and-create-changed.-Thanks-to-.patch -Patch8: 0008-More-sonames.patch -Patch9: 0009-Bumped-up-version-to-1.14.patch +Patch3: 0003-Use-system-rply.patch +Patch4: 0004-Added-more-soname.patch +Patch5: 0005-Do-not-build-OUL.patch +Patch6: 0006-BUG-rplyConfig.cmake-has-wrong-include-path.patch +Patch7: 0007-Arguments-of-ply_open-and-create-changed.-Thanks-to-.patch +Patch8: 0008-More-sonames.patch +Patch9: 0009-Bumped-up-version-to-1.14.patch #TODO: Refers to contrib and is therefore not correct -Patch10: 0010-Use-system-FindEXPAT.patch -Patch11: 0011-Do-not-use-bundled-minizip.patch -Patch12: 0012-Added-Coin3D-Submitted-by-Volker-Frohlich.patch -Patch13: 0013-Added-SIMVoleon-Submitted-by-Volker-Frohlich.patch -Patch14: 0014-Added-additional-search-path-for-xerces-Submitted-by.patch -Patch15: 0015-Manage-KL-library-Submitted-by-Volker-Frohlich.patch -Patch16: 0016-Manage-KL-library-2-2-Submitted-by-Volker-Frohlich.patch -Patch17: 0017-Add-sonames-to-vpgl-lib.patch -Patch18: 0018-Added-sonames-to-vgui-vidl-vpdl-Qv-libs.patch -Patch19: 0019-Removed-box2m-which-requires-OpenCL-libraries.patch -Patch20: 0020-Included-missing-vcl_cstdio.h-header.patch -Patch21: 0021-Use-expatpp.h-which-is-provided-by-fedora-repos.patch -Patch22: 0022-Include-missing-vcl_cstdio.h-header.patch -Patch23: 0023-Remove-volm-because-of-error-in-function-prototype.patch -Patch24: 0024-Added-missing-sonames-for-mvl2-and-vepl1.patch -Patch25: 0025-Legacy-def1-r35963.patch -Patch26: 0026-Legacy-def2-r36001.patch +Patch10: 0010-Use-system-FindEXPAT.patch +Patch11: 0011-Do-not-use-bundled-minizip.patch +Patch12: 0012-Added-Coin3D-Submitted-by-Volker-Frohlich.patch +Patch13: 0013-Added-SIMVoleon-Submitted-by-Volker-Frohlich.patch +Patch14: 0014-Added-additional-search-path-for-xerces-Submitted-by.patch +Patch15: 0015-Manage-KL-library-Submitted-by-Volker-Frohlich.patch +Patch16: 0016-Manage-KL-library-2-2-Submitted-by-Volker-Frohlich.patch +Patch17: 0017-Add-sonames-to-vpgl-lib.patch +Patch18: 0018-Added-sonames-to-vgui-vidl-vpdl-Qv-libs.patch +Patch19: 0019-Removed-box2m-which-requires-OpenCL-libraries.patch +Patch20: 0020-Included-missing-vcl_cstdio.h-header.patch +Patch21: 0021-Use-expatpp.h-which-is-provided-by-fedora-repos.patch +Patch22: 0022-Include-missing-vcl_cstdio.h-header.patch +Patch23: 0023-Remove-volm-because-of-error-in-function-prototype.patch +Patch24: 0024-Added-missing-sonames-for-mvl2-and-vepl1.patch +Patch25: 0025-Legacy-def1-r35963.patch +Patch26: 0026-Legacy-def2-r36001.patch -Patch50: vxl-0.17.0-gcc5.diff -Patch51: vxl-1.17.0-gcc6.patch +Patch50: vxl-0.17.0-gcc5.diff +Patch51: vxl-1.17.0-gcc6.patch -Patch100: %{name}-1.17.0-secondary.patch +Patch100: %{name}-1.17.0-secondary.patch #KL is used in an "UNMAINTAINED_LIBRARY", vgel is only built on request BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: cmake -BuildRequires: doxygen -BuildRequires: expat-devel -BuildRequires: Coin2-devel -BuildRequires: dcmtk-devel -BuildRequires: doxygen -BuildRequires: expat-devel -BuildRequires: expatpp-devel -BuildRequires: freeglut-devel -BuildRequires: klt-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libXmu-devel -BuildRequires: libXi-devel -BuildRequires: libjpeg-devel +BuildRequires: cmake +BuildRequires: doxygen +BuildRequires: expat-devel +BuildRequires: Coin2-devel +BuildRequires: dcmtk-devel +BuildRequires: doxygen +BuildRequires: expat-devel +BuildRequires: expatpp-devel +BuildRequires: freeglut-devel +BuildRequires: klt-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: libXmu-devel +BuildRequires: libXi-devel +BuildRequires: libjpeg-devel %ifnarch s390 s390x -BuildRequires: libdc1394-devel +BuildRequires: libdc1394-devel %endif -BuildRequires: libgeotiff-devel -BuildRequires: libjpeg-turbo-devel -BuildRequires: minizip-compat-devel -BuildRequires: rply-devel -BuildRequires: SIMVoleon-devel -BuildRequires: shapelib-devel -BuildRequires: texi2html -BuildRequires: xerces-c-devel -BuildRequires: zlib-devel +BuildRequires: libgeotiff-devel +BuildRequires: libjpeg-turbo-devel +BuildRequires: minizip-compat-devel +BuildRequires: rply-devel +BuildRequires: SIMVoleon-devel +BuildRequires: shapelib-devel +BuildRequires: texi2html +BuildRequires: xerces-c-devel +BuildRequires: zlib-devel #GUI needs wx, a desktop file and an icon %description VXL (the Vision-something-Libraries) is a collection of C++ libraries designed for computer vision research and implementation. It was created from TargetJr -and the IUE with the aim of making a light, fast and consistent system. +and the IUE with the aim of making a light, fast and consistent system. VXL is written in ANSI/ISO C++ and is designed to be portable over many platforms. -%package doc -Summary: Documentation for VXL library -Requires: %{name} = %{version}-%{release} -BuildArch: noarch +%package doc +Summary: Documentation for VXL library +Requires: %{name} = %{version}-%{release} +BuildArch: noarch %description doc You should install this package if you would like to have all the documentation -%package devel -Summary: Headers and development libraries for VXL -Requires: %{name}%{?_isa} = %{version}-%{release} +%package devel +Summary: Headers and development libraries for VXL +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -109,7 +109,7 @@ You should install this package if you would like to develop code based on VXL. %prep -%setup -q -n vxl-git4e07960 +%autosetup -n vxl-git4e07960 -S patch -p1 cp %{SOURCE2} . @@ -118,7 +118,7 @@ cp %{SOURCE2} . # QV is a Silicon Graphics' VRML parser from the 90s. Now unmantained. for l in jpeg png zlib tiff geotiff rply dcmtk bzlib do - find v3p/$l -type f ! -name 'CMakeLists.txt' -execdir rm {} + + find v3p/$l -type f ! -name 'CMakeLists.txt' -execdir rm {} + done find contrib/brl/b3p/shapelib -type f ! -name 'CMakeLists.txt' -execdir rm {} + @@ -132,37 +132,6 @@ find contrib/brl/b3p/expatpp -type f ! -name 'CMakeLists.txt' -execdir rm {} + #TODO: Various #vxl-devel.x86_64: E: invalid-soname /usr/lib64/libvvid.so libvvid.so -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 -%patch26 -p1 -%patch50 -p1 -%patch51 -p1 -b .gcc6 -%patch100 -p1 -b .secondary - - #Fix lib / lib64 problem during install: find . -name CMakeLists.txt -exec sed -i "s/INSTALL_TARGETS([ ]*\/lib/INSTALL_TARGETS(\/lib\$\{LIB_SUFFIX\}/;" {} + @@ -173,43 +142,43 @@ find . -name "*.txx" | xargs chmod ugo-x %build %cmake -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DVXL_FORCE_B3P_EXPAT:BOOL=OFF \ - -DVXL_FORCE_V3P_DCMTK:BOOL=OFF \ - -DVXL_FORCE_V3P_GEOTIFF:BOOL=OFF \ - -DVXL_USING_NATIVE_KL=ON \ - -DVXL_FORCE_V3P_JPEG:BOOL=OFF \ - -DVXL_FORCE_V3P_MPEG2:BOOL=OFF \ - -DVXL_FORCE_V3P_PNG:BOOL=OFF \ - -DVXL_FORCE_V3P_TIFF:BOOL=OFF \ - -DVXL_FORCE_V3P_ZLIB:BOOL=OFF \ - -DVXL_FORCE_V3P_RPLY:BOOL=OFF \ - -DVXL_USING_NATIVE_ZLIB=ON \ - -DVXL_USING_NATIVE_JPEG=ON \ - -DVXL_USING_NATIVE_PNG=ON \ - -DVXL_USING_NATIVE_TIFF=ON \ - -DVXL_USING_NATIVE_GEOTIFF=ON \ - -DVXL_USING_NATIVE_EXPAT=ON \ - -DVXL_USING_NATIVE_SHAPELIB=ON \ - -DVXL_USING_NATIVE_BZLIB2=ON \ - -DBUILD_VGUI=OFF \ - -DBUILD_BGUI3D=OFF \ - -DBUILD_OXL:BOOL=ON \ - -DBUILD_BRL=OFF \ - -DBUILD_CORE_GEOMETRY:BOOL=ON \ - -DBUILD_CORE_IMAGING:BOOL=ON \ - -DBUILD_CORE_NUMERICS:BOOL=ON \ - -DBUILD_CORE_PROBABILITY:BOOL=ON \ - -DBUILD_CORE_SERIALISATION:BOOL=ON \ - -DBUILD_CORE_UTILITIES:BOOL=ON \ - -DBUILD_CORE_VIDEO:BOOL=ON \ - -DBUILD_EXAMPLES:BOOL=OFF \ - -DBUILD_TESTING:BOOL=OFF \ - -DBUILD_DOCUMENTATION:BOOL=ON \ - -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ - -DCMAKE_CXX_FLAGS:STRING="$RPM_OPT_FLAGS -fpermissive" \ - -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so \ - -DVNL_CONFIG_LEGACY_METHODS=ON . + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DVXL_FORCE_B3P_EXPAT:BOOL=OFF \ + -DVXL_FORCE_V3P_DCMTK:BOOL=OFF \ + -DVXL_FORCE_V3P_GEOTIFF:BOOL=OFF \ + -DVXL_USING_NATIVE_KL=ON \ + -DVXL_FORCE_V3P_JPEG:BOOL=OFF \ + -DVXL_FORCE_V3P_MPEG2:BOOL=OFF \ + -DVXL_FORCE_V3P_PNG:BOOL=OFF \ + -DVXL_FORCE_V3P_TIFF:BOOL=OFF \ + -DVXL_FORCE_V3P_ZLIB:BOOL=OFF \ + -DVXL_FORCE_V3P_RPLY:BOOL=OFF \ + -DVXL_USING_NATIVE_ZLIB=ON \ + -DVXL_USING_NATIVE_JPEG=ON \ + -DVXL_USING_NATIVE_PNG=ON \ + -DVXL_USING_NATIVE_TIFF=ON \ + -DVXL_USING_NATIVE_GEOTIFF=ON \ + -DVXL_USING_NATIVE_EXPAT=ON \ + -DVXL_USING_NATIVE_SHAPELIB=ON \ + -DVXL_USING_NATIVE_BZLIB2=ON \ + -DBUILD_VGUI=OFF \ + -DBUILD_BGUI3D=OFF \ + -DBUILD_OXL:BOOL=ON \ + -DBUILD_BRL=OFF \ + -DBUILD_CORE_GEOMETRY:BOOL=ON \ + -DBUILD_CORE_IMAGING:BOOL=ON \ + -DBUILD_CORE_NUMERICS:BOOL=ON \ + -DBUILD_CORE_PROBABILITY:BOOL=ON \ + -DBUILD_CORE_SERIALISATION:BOOL=ON \ + -DBUILD_CORE_UTILITIES:BOOL=ON \ + -DBUILD_CORE_VIDEO:BOOL=ON \ + -DBUILD_EXAMPLES:BOOL=OFF \ + -DBUILD_TESTING:BOOL=OFF \ + -DBUILD_DOCUMENTATION:BOOL=ON \ + -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ + -DCMAKE_CXX_FLAGS:STRING="$RPM_OPT_FLAGS -fpermissive" \ + -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so \ + -DVNL_CONFIG_LEGACY_METHODS=ON . # Why is expat stated, but not shapelib? # DCMDK Cmake -- Included in bundle, but why? @@ -235,7 +204,7 @@ ctest . %doc core/vxl_copyright.h %{_libdir}/*.so.* %{_bindir}/* -#%{_datadir}/%{name}/ +#%%{_datadir}/%%{name}/ %files devel %{_datadir}/%{name} @@ -245,10 +214,11 @@ ctest . %files doc %doc %{_docdir}/* - - - %changelog +* Sun Feb 17 2019 Ankur Sinha - 1.17.0-30 +- Use autosetup macro +- Remove whitespaces, use space instead of tabs for cleanliness + * Sun Feb 03 2019 Fedora Release Engineering - 1.17.0-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -295,7 +265,7 @@ ctest . - Fix bogus %%changelog date. * Mon Aug 25 2014 Devrim Gündüz - 1.17.0-15 -- Rebuilt for libgeotiff +- Rebuilt for libgeotiff * Mon Aug 18 2014 Fedora Release Engineering - 1.17.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild @@ -337,7 +307,6 @@ ctest . * Sun Oct 14 2012 Mario Ceresa mrceresa fedoraproject org vxl 1.17.0-3%{?dist} - More fixes from Volker's post https://bugzilla.redhat.com/show_bug.cgi?id=567086#c42 -- * Wed Oct 10 2012 Mario Ceresa mrceresa fedoraproject org vxl 1.17.0-2%{?dist} - Added patches 12-16 from https://bugzilla.redhat.com/show_bug.cgi?id=567086#c42 From 2566942a3bd746deb6afe2fb3a3842c211dcd5e1 Mon Sep 17 00:00:00 2001 From: sagitter Date: Sat, 9 Mar 2019 16:36:00 +0100 Subject: [PATCH 25/74] Rebuild for dcmtk-3.6.4 --- vxl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vxl.spec b/vxl.spec index 634ea6c..b1504c1 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,6 +1,6 @@ Name: vxl Version: 1.17.0 -Release: 30%{?dist} +Release: 31%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation License: BSD URL: http://vxl.sourceforge.net/ @@ -215,6 +215,9 @@ ctest . %doc %{_docdir}/* %changelog +* Sat Mar 09 2019 Antonio Trande - 1.17.0-31 +- Rebuild for dcmtk-3.6.4 + * Sun Feb 17 2019 Ankur Sinha - 1.17.0-30 - Use autosetup macro - Remove whitespaces, use space instead of tabs for cleanliness From ea6f50391eea57fdd86ef2f4ded2f08338daac99 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 18 Apr 2019 18:34:01 +0100 Subject: [PATCH 26/74] Spec bump, bundle dcmtk --- .gitignore | 1 + sources | 2 +- vxl.spec | 36 +++++++++++++++++++++++------------- 3 files changed, 25 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index f97538c..5d40acb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /vxl-1.17.0.tar.gz /vxl-1.17.0-clean.tar.gz +/vxl-2.0.2-clean.tar.gz diff --git a/sources b/sources index 90f5730..09701af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -99b44265df5a638b7757135cb4f10166 vxl-1.17.0-clean.tar.gz +SHA512 (vxl-2.0.2-clean.tar.gz) = d8cad8ca6851641bb4c3398b8bf5e3df45a7414fd736acf8e75b79bdd5d18ec3aae4edac5b4c66d98fc499f411a25a443f046859a3544e45228f468052ec79ee diff --git a/vxl.spec b/vxl.spec index b1504c1..c8c5f82 100644 --- a/vxl.spec +++ b/vxl.spec @@ -1,16 +1,15 @@ Name: vxl -Version: 1.17.0 -Release: 31%{?dist} +Version: 2.0.2 +Release: 1%{?dist} Summary: C++ Libraries for Computer Vision Research and Implementation License: BSD -URL: http://vxl.sourceforge.net/ +URL: https://vxl.github.io/ # Need to remove the non-free lena image from the sources -# tar xf vxl-1.17.0.tar.gz -# rm -rf vxl-git4e07960/contrib/prip/vdtop/tests/lena.org.pgm -# tar cfz vxl-1.17.0-clean.tar.gz vxl-git4e07960/ -# Source0: http://downloads.sourceforge.net/project/vxl/vxl/1.17/vxl-1.17.0.tar.gz +# tar xf vxl-%{version}.tar.gz +# rm -rf vxl-%{version}/contrib/prip/vdtop/tests/lena.org.pgm +# tar cfz vxl-%{version}-clean.tar.gz vxl-%{version}/ +# Source0: https://github.com/vxl/vxl/archive/v%{version}/%{name}-%{version}.tar.gz Source0: %{name}-%{version}-clean.tar.gz -Source2: https://vxl.svn.sourceforge.net/svnroot/vxl/trunk/core/vxl_copyright.h # Fedora has a distribution-specific include dir Patch1: 0001-Added-include-path-for-geotiff.patch Patch2: 0002-Added-soname-info-for-core-libraries.patch @@ -55,7 +54,9 @@ BuildRequires: cmake BuildRequires: doxygen BuildRequires: expat-devel BuildRequires: Coin2-devel -BuildRequires: dcmtk-devel +# Use bundled dcmtk until upstream updates their code to use newer dcmtk +# https://github.com/vxl/vxl/issues/550 +# BuildRequires: dcmtk-devel BuildRequires: doxygen BuildRequires: expat-devel BuildRequires: expatpp-devel @@ -109,14 +110,18 @@ You should install this package if you would like to develop code based on VXL. %prep -%autosetup -n vxl-git4e07960 -S patch -p1 - -cp %{SOURCE2} . +%autosetup -S patch -p1 #Remove bundled library (let's use FEDORA's ones) # v3p/netlib (made by f2c) dependency not removed because of heavily modifications # QV is a Silicon Graphics' VRML parser from the 90s. Now unmantained. -for l in jpeg png zlib tiff geotiff rply dcmtk bzlib + +# For the time being, use bundled dcmtk. It does not build with newer dcmtk. +# Issue filed here: +# https://github.com/vxl/vxl/issues/550 +# for l in jpeg png zlib tiff geotiff rply dcmtk bzlib + +for l in jpeg png zlib tiff geotiff rply bzlib do find v3p/$l -type f ! -name 'CMakeLists.txt' -execdir rm {} + done @@ -215,6 +220,11 @@ ctest . %doc %{_docdir}/* %changelog +* Sun Feb 17 2019 Ankur Sinha - 2.0.2-1 +- Update to latest upstream release +- Temporarily use bundled dcmtk (https://github.com/vxl/vxl/issues/550) +- Use new github upstream + * Sat Mar 09 2019 Antonio Trande - 1.17.0-31 - Rebuild for dcmtk-3.6.4 From 2efb9d728de3876dd56dbd02222ea59b27fab69c Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Fri, 19 Apr 2019 00:07:30 +0100 Subject: [PATCH 27/74] WIP: not yet ready for build --- 0001-Added-include-path-for-geotiff.patch | 26 - 0001-v2.0.2-unbundle-rply.patch | 3626 +++++++++++++++++ ...Added-soname-info-for-core-libraries.patch | 117 - 0002-v2.0.2-Use-Fedora-FindEXPAT.patch | 469 +++ 0003-Use-system-rply.patch | 71 - 0003-v2.0.2-Use-Fedora-minizip.patch | 28 + 0004-Added-more-soname.patch | 53 - 0004-Version-shared-objects.patch | 258 ++ 0004-v2.0.2-Correct-dcmtk-includes.patch | 65 + 0008-More-sonames.patch | 819 ---- 0009-Bumped-up-version-to-1.14.patch | 26 - 0011-Do-not-use-bundled-minizip.patch | 30 - 0017-Add-sonames-to-vpgl-lib.patch | 77 - ...ed-sonames-to-vgui-vidl-vpdl-Qv-libs.patch | 64 - ...d-missing-sonames-for-mvl2-and-vepl1.patch | 37 - vxl-0.17.0-gcc5.diff | 13 - vxl-1.17.0-gcc6.patch | 70 - vxl.spec | 219 +- vxl_copyright.h | 37 - 19 files changed, 4601 insertions(+), 1504 deletions(-) delete mode 100644 0001-Added-include-path-for-geotiff.patch create mode 100644 0001-v2.0.2-unbundle-rply.patch delete mode 100644 0002-Added-soname-info-for-core-libraries.patch create mode 100644 0002-v2.0.2-Use-Fedora-FindEXPAT.patch delete mode 100644 0003-Use-system-rply.patch create mode 100644 0003-v2.0.2-Use-Fedora-minizip.patch delete mode 100644 0004-Added-more-soname.patch create mode 100644 0004-Version-shared-objects.patch create mode 100644 0004-v2.0.2-Correct-dcmtk-includes.patch delete mode 100644 0008-More-sonames.patch delete mode 100644 0009-Bumped-up-version-to-1.14.patch delete mode 100644 0011-Do-not-use-bundled-minizip.patch delete mode 100644 0017-Add-sonames-to-vpgl-lib.patch delete mode 100644 0018-Added-sonames-to-vgui-vidl-vpdl-Qv-libs.patch delete mode 100644 0024-Added-missing-sonames-for-mvl2-and-vepl1.patch delete mode 100644 vxl-0.17.0-gcc5.diff delete mode 100644 vxl-1.17.0-gcc6.patch delete mode 100644 vxl_copyright.h diff --git a/0001-Added-include-path-for-geotiff.patch b/0001-Added-include-path-for-geotiff.patch deleted file mode 100644 index 20ea0f4..0000000 --- a/0001-Added-include-path-for-geotiff.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ac852c19102585381f1762251716e62ebc86c0f7 Mon Sep 17 00:00:00 2001 -From: Mario Ceresa -Date: Wed, 10 Oct 2012 17:09:48 +0200 -Subject: [PATCH 01/23] Added include path for geotiff - -Signed-off-by: Mario Ceresa ---- - config/cmake/Modules/NewCMake/FindGEOTIFF.cmake | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/config/cmake/Modules/NewCMake/FindGEOTIFF.cmake b/config/cmake/Modules/NewCMake/FindGEOTIFF.cmake -index 9e5013f..624e331 100644 ---- a/config/cmake/Modules/NewCMake/FindGEOTIFF.cmake -+++ b/config/cmake/Modules/NewCMake/FindGEOTIFF.cmake -@@ -8,6 +8,8 @@ - # GEOTIFF_LIBRARY, where to find the GEOTIFF library. - - FIND_PATH(GEOTIFF_INCLUDE_DIR geotiff.h -+ /usr/local/include/libgeotiff -+ /usr/include/libgeotiff - /usr/local/include - /usr/include - ) --- -1.7.11.7 - diff --git a/0001-v2.0.2-unbundle-rply.patch b/0001-v2.0.2-unbundle-rply.patch new file mode 100644 index 0000000..dc93658 --- /dev/null +++ b/0001-v2.0.2-unbundle-rply.patch @@ -0,0 +1,3626 @@ +From 03d46e9ecaae8e18c892aecded6f918f6407344d Mon Sep 17 00:00:00 2001 +From: "Ankur Sinha (Ankur Sinha Gmail)" +Date: Thu, 15 Nov 2018 14:15:02 +0000 +Subject: [PATCH 1/4] v2.0.2: unbundle rply + +--- + contrib/brl/bbas/bmsh3d/algo/CMakeLists.txt | 5 +- + contrib/brl/bseg/boxm/algo/CMakeLists.txt | 3 +- + contrib/brl/bseg/boxm2/cpp/CMakeLists.txt | 6 +- + .../brl/bseg/boxm2/cpp/algo/CMakeLists.txt | 6 +- + v3p/CMakeLists.txt | 1 - + v3p/rply/CMakeLists.txt | 9 - + v3p/rply/LICENSE | 20 - + v3p/rply/etc/convert.c | 136 -- + v3p/rply/etc/dump.c | 44 - + v3p/rply/etc/input.ply | 16 - + v3p/rply/etc/sconvert.c | 66 - + v3p/rply/manual/manual.html | 993 ----------- + v3p/rply/manual/reference.css | 54 - + v3p/rply/manual/rply.png | Bin 6232 -> 0 bytes + v3p/rply/readme.txt | 24 - + v3p/rply/rply.c | 1570 ----------------- + v3p/rply/rply.h | 367 ---- + 17 files changed, 13 insertions(+), 3307 deletions(-) + delete mode 100644 v3p/rply/CMakeLists.txt + delete mode 100644 v3p/rply/LICENSE + delete mode 100644 v3p/rply/etc/convert.c + delete mode 100644 v3p/rply/etc/dump.c + delete mode 100644 v3p/rply/etc/input.ply + delete mode 100644 v3p/rply/etc/sconvert.c + delete mode 100644 v3p/rply/manual/manual.html + delete mode 100644 v3p/rply/manual/reference.css + delete mode 100644 v3p/rply/manual/rply.png + delete mode 100644 v3p/rply/readme.txt + delete mode 100644 v3p/rply/rply.c + delete mode 100644 v3p/rply/rply.h + +diff --git a/contrib/brl/bbas/bmsh3d/algo/CMakeLists.txt b/contrib/brl/bbas/bmsh3d/algo/CMakeLists.txt +index 5cf355e3fe3e15f6a8aa78be27469bf31e392716..662ec284e92840ebbcc0b3fc53eeab4561a7f3b8 100644 +--- a/contrib/brl/bbas/bmsh3d/algo/CMakeLists.txt ++++ b/contrib/brl/bbas/bmsh3d/algo/CMakeLists.txt +@@ -1,8 +1,9 @@ + # This is bbas/bmsh3d/algo/CMakeLists.txt + # Brown 3D Mesh Algorithm Library ++FIND_PACKAGE(rply REQUIRED) + + include_directories( ${BRL_INCLUDE_DIR} ) +-include_directories( ${VTHREEP_INCLUDE_DIR}/rply ) ++include_directories( ${RPLY_INCLUDE_DIR} ) + + set( bmsh3d_algo_sources + bmsh3d_fileio.cxx bmsh3d_fileio.h +@@ -13,7 +14,7 @@ set( bmsh3d_algo_sources + ) + + vxl_add_library(LIBRARY_NAME bmsh3d_algo LIBRARY_SOURCES ${bmsh3d_algo_sources}) +-target_link_libraries( bmsh3d_algo bmsh3d rply ${VXL_LIB_PREFIX}vgl ${VXL_LIB_PREFIX}vnl ${VXL_LIB_PREFIX}vul) ++target_link_libraries( bmsh3d_algo bmsh3d ${RPLY_LIBRARY} ${VXL_LIB_PREFIX}vgl ${VXL_LIB_PREFIX}vnl ${VXL_LIB_PREFIX}vul) + + if( BUILD_TESTING ) + add_subdirectory(tests) +diff --git a/contrib/brl/bseg/boxm/algo/CMakeLists.txt b/contrib/brl/bseg/boxm/algo/CMakeLists.txt +index cee22bd27162f42baca3ea8d7838a88b9ef8ef0b..4714624fa3f1b30ecc5b99278b8782402d18f64d 100644 +--- a/contrib/brl/bseg/boxm/algo/CMakeLists.txt ++++ b/contrib/brl/bseg/boxm/algo/CMakeLists.txt +@@ -1,6 +1,7 @@ + # brl/bseg/boxm/algo/CMakeLists.txt ++FIND_PACKAGE(rply REQUIRED) + include_directories( ${MUL_INCLUDE_DIR} ) +-include_directories( ${VTHREEP_INCLUDE_DIR}/rply ) ++include_directories( ${RPLY_INCLUDE_DIR} ) + set(boxm_algo_sources + boxm_compute_scene_statistics.h + boxm_crop_scene.h +diff --git a/contrib/brl/bseg/boxm2/cpp/CMakeLists.txt b/contrib/brl/bseg/boxm2/cpp/CMakeLists.txt +index 92b959f740c5de390f76aeda77f05c6f6dc7aa3c..fff9ae2d8404c5631564eddc30c48cae8a69ffc0 100644 +--- a/contrib/brl/bseg/boxm2/cpp/CMakeLists.txt ++++ b/contrib/brl/bseg/boxm2/cpp/CMakeLists.txt +@@ -1,12 +1,14 @@ ++FIND_PACKAGE(rply REQUIRED) ++ + include_directories( ${BRL_INCLUDE_DIR}/bseg ) +-include_directories( ${VTHREEP_INCLUDE_DIR}/rply ) ++include_directories( ${RPLY_INCLUDE_DIR} ) + set(boxm2_cpp_sources + + ) + aux_source_directory(Templates boxm2_cpp_sources) + vxl_add_library(LIBRARY_NAME boxm2_cpp LIBRARY_SOURCES ${boxm2_cpp_sources}) + +-target_link_libraries(boxm2_cpp boxm2 boxm2_basic boxm2_io boct brdb ${VXL_LIB_PREFIX}vbl_io expatpp ${VXL_LIB_PREFIX}vpgl ${VXL_LIB_PREFIX}vil_io ${VXL_LIB_PREFIX}vil ${VXL_LIB_PREFIX}vgl ${VXL_LIB_PREFIX}vgl_xio ${VXL_LIB_PREFIX}vbl ${VXL_LIB_PREFIX}vsl ${VXL_LIB_PREFIX}vcl rply) ++target_link_libraries(boxm2_cpp boxm2 boxm2_basic boxm2_io boct brdb ${VXL_LIB_PREFIX}vbl_io expatpp ${VXL_LIB_PREFIX}vpgl ${VXL_LIB_PREFIX}vil_io ${VXL_LIB_PREFIX}vil ${VXL_LIB_PREFIX}vgl ${VXL_LIB_PREFIX}vgl_xio ${VXL_LIB_PREFIX}vbl ${VXL_LIB_PREFIX}vsl ${VXL_LIB_PREFIX}vcl ${RPLY_LIBRARY} ) + + # cpp process APIs. + add_subdirectory(pro) +diff --git a/contrib/brl/bseg/boxm2/cpp/algo/CMakeLists.txt b/contrib/brl/bseg/boxm2/cpp/algo/CMakeLists.txt +index 1407ed9d31e842ba5826c06f38ac5c2516c22113..c3ed4ed27d4d08902f8b56d158bb89539df76a93 100644 +--- a/contrib/brl/bseg/boxm2/cpp/algo/CMakeLists.txt ++++ b/contrib/brl/bseg/boxm2/cpp/algo/CMakeLists.txt +@@ -1,6 +1,8 @@ ++FIND_PACKAGE(rply REQUIRED) ++ + include_directories( ${BRL_INCLUDE_DIR}/bseg ) + include_directories( ${MUL_INCLUDE_DIR} ) +-include_directories( ${VTHREEP_INCLUDE_DIR}/rply) ++include_directories( ${RPLY_INCLUDE_DIR} ) + + set(boxm2_cpp_algo_sources + boxm2_cast_ray_function.h +@@ -57,7 +59,7 @@ set(boxm2_cpp_algo_sources + aux_source_directory(Templates boxm2_cpp_algo_sources) + + vxl_add_library(LIBRARY_NAME boxm2_cpp_algo LIBRARY_SOURCES ${boxm2_cpp_algo_sources}) +-target_link_libraries(boxm2_cpp_algo boxm2_cpp brad boct brdb expatpp ${VXL_LIB_PREFIX}vpgl bvgl imesh imesh_algo bsta_algo bsta ${VXL_LIB_PREFIX}vil_algo ${VXL_LIB_PREFIX}vil ${VXL_LIB_PREFIX}vgl_xio ${VXL_LIB_PREFIX}vgl ${VXL_LIB_PREFIX}vnl_algo ${VXL_LIB_PREFIX}vnl ${VXL_LIB_PREFIX}vul ${VXL_LIB_PREFIX}vbl_io ${VXL_LIB_PREFIX}vbl ${VXL_LIB_PREFIX}vsl ${VXL_LIB_PREFIX}vcl bvpl rply) ++target_link_libraries(boxm2_cpp_algo boxm2_cpp brad boct brdb expatpp ${VXL_LIB_PREFIX}vpgl bvgl imesh imesh_algo bsta_algo bsta ${VXL_LIB_PREFIX}vil_algo ${VXL_LIB_PREFIX}vil ${VXL_LIB_PREFIX}vgl_xio ${VXL_LIB_PREFIX}vgl ${VXL_LIB_PREFIX}vnl_algo ${VXL_LIB_PREFIX}vnl ${VXL_LIB_PREFIX}vul ${VXL_LIB_PREFIX}vbl_io ${VXL_LIB_PREFIX}vbl ${VXL_LIB_PREFIX}vsl ${VXL_LIB_PREFIX}vcl bvpl ${RPLY_LIBRARY} ) + + if(BUILD_TESTING) + add_subdirectory(tests) +diff --git a/v3p/CMakeLists.txt b/v3p/CMakeLists.txt +index 251ef9a97923ff5d6e0063eb8251831c7dde6e57..ae9baedaa4425355b1ab57f68cf7e8f906345b98 100644 +--- a/v3p/CMakeLists.txt ++++ b/v3p/CMakeLists.txt +@@ -60,5 +60,4 @@ if(VXL_BUILD_CORE_IMAGING) + add_subdirectory(png) + add_subdirectory(dcmtk) + add_subdirectory(openjpeg2) +- add_subdirectory(rply) + endif() +diff --git a/v3p/rply/CMakeLists.txt b/v3p/rply/CMakeLists.txt +deleted file mode 100644 +index 9085a628a1c7a06c7f7bc1c0080b1a1f4beceeb7..0000000000000000000000000000000000000000 +--- a/v3p/rply/CMakeLists.txt ++++ /dev/null +@@ -1,9 +0,0 @@ +-# This is /v3p/rply/CMakeLists.txt +-# library for reading and writing .PLY file +- +-set(rply_sources +- rply.h +- rply.c +- ) +- +-vxl_add_library(LIBRARY_NAME rply LIBRARY_SOURCES ${rply_sources}) +diff --git a/v3p/rply/LICENSE b/v3p/rply/LICENSE +deleted file mode 100644 +index 02e7c5f385b5ca8c7e9df071455f3956122e9380..0000000000000000000000000000000000000000 +--- a/v3p/rply/LICENSE ++++ /dev/null +@@ -1,20 +0,0 @@ +-RPly 1.01 license +-Copyright 2003-2005 Diego Nehab. +- +-Permission is hereby granted, free of charge, to any person obtaining a +-copy of this software and associated documentation files (the "Software"), +-to deal in the Software without restriction, including without limitation +-the rights to use, copy, modify, merge, publish, distribute, sublicense, +-and/or sell copies of the Software, and to permit persons to whom the +-Software is furnished to do so, subject to the following conditions: +- +-The above copyright notice and this permission notice shall be included in +-all copies or substantial portions of the Software. +- +-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +-DEALINGS IN THE SOFTWARE. +diff --git a/v3p/rply/etc/convert.c b/v3p/rply/etc/convert.c +deleted file mode 100644 +index e90d4cd576f1b980ba45f7fd153b8542e7b0bca3..0000000000000000000000000000000000000000 +--- a/v3p/rply/etc/convert.c ++++ /dev/null +@@ -1,136 +0,0 @@ +-#include +-#include +-#include +-#include +-#include "rply.h" +- +-/* internal function prototypes */ +-static void error(const char *fmt, ...); +-static void help(void); +-static void parse_arguments(int argc, char **argv, +- e_ply_storage_mode *storage_mode, +- const char **iname, const char **oname); +-static void setup_callbacks(p_ply iply, p_ply oply); +- +-/* given a format mode, an input file name and an output file name, +- * convert input file to output in given format mode */ +-int main(int argc, char **argv) +-{ +- const char *value = NULL; +- e_ply_storage_mode storage_mode = PLY_LITTLE_ENDIAN; +- const char *iname = NULL, *oname = NULL; +- p_ply iply = NULL, oply = NULL; +- /* parse command line arguments */ +- parse_arguments(argc, argv, &storage_mode, &iname, &oname); +- /* open input file and make sure we parsed its header */ +- iply = ply_open(iname, NULL); +- if (!iply) error("Unable to open file '%s'", iname); +- if (!ply_read_header(iply)) error("Failed reading '%s' header", iname); +- /* create output file */ +- oply = ply_create(oname, storage_mode, NULL); +- if (!oply) error("Unable to create file '%s'", oname); +- /* create elements and properties in output file and +- * setup callbacks for them in input file */ +- setup_callbacks(iply, oply); +- /* pass comments and obj_infos from input to output */ +- value = NULL; +- while ((value = ply_get_next_comment(iply, value))) +- if (!ply_add_comment(oply, value)) +- error("Failed adding comments"); +- value = NULL; +- while ((value = ply_get_next_obj_info(iply, value))) +- if (!ply_add_obj_info(oply, value)) +- error("Failed adding comments"); +- /* write output header */ +- if (!ply_write_header(oply)) error("Failed writing '%s' header", oname); +- /* read input file generating callbacks that pass data to output file */ +- if (!ply_read(iply)) error("Conversion failed"); +- /* close up, we are done */ +- if (!ply_close(iply)) error("Error closing file '%s'", iname); +- if (!ply_close(oply)) error("Error closing file '%s'", oname); +- return 0; +-} +- +-/* prints an error message and exits */ +-static void error(const char *fmt, ...) +-{ +- va_list ap; +- va_start(ap, fmt); +- vfprintf(stderr, fmt, ap); +- va_end(ap); +- fprintf(stderr, "\n"); +- exit(1); +-} +- +-/* prints the help message and exits */ +-static void help(void) +-{ +- error("Usage:\n" +- " convert