Package Details: pfstools 2.1.0-6

Git Clone URL: https://aur.archlinux.org/pfstools.git (read-only, click to copy)
Package Base: pfstools
Description: Set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images
Upstream URL: http://pfstools.sourceforge.net/
Licenses: LGPL2.1
Conflicts: pfscalibration, pfstmo
Provides: pfscalibration, pfstmo
Submitter: None
Maintainer: spider-mario
Last Packager: spider-mario
Votes: 37
Popularity: 0.000000
First Submitted: 2006-11-15 06:01 (UTC)
Last Updated: 2021-03-25 20:56 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

bartus commented on 2021-09-02 14:11 (UTC) (edited on 2021-09-02 14:12 (UTC) by bartus)

Fix build against gcc:11.1.0 http://ix.io/3xJY/diff

Requires lower cxx spec (default c++17 wont works)

Apply with git am -s < <(curl -s http://ix.io/3xJY)

theodore commented on 2021-07-05 10:12 (UTC)

@bartus do you have any updated PKGBUILD because it seems that the package still has issues compiling. Thanks.

bartus commented on 2021-01-24 14:36 (UTC)

@alex.shpilkin: There's fresh bug report in sf pfstools bug tracker refering octave api 6.1

alex.shpilkin commented on 2020-12-27 04:32 (UTC)

Until the Octave binding is fixed, version 2.1.0-4 of this package, which only differs in not including it, builds perfectly well.

alex.shpilkin commented on 2020-12-27 04:30 (UTC)

After the recent upgrade of Octave from 5.2.0 to 6.1.0, the "few deprecation warnings" in the Octave bindings turned into build breakage. The first error I’m hitting seems to be due to use of the deprecated method octave_value::is_map(), which was removed in 2018 in changeset f23f27e78aa2.

/build/pfstools/src/pfstools-2.1.0/src/octave/pfsget.cpp: In function ‘octave_value_list Fpfsget(const octave_value_list&, int)’:
/build/pfstools/src/pfstools-2.1.0/src/octave/pfsget.cpp:49:31: error: ‘const class octave_value’ has no member named ‘is_map’
   49 |   if( nargin != 1 || !args(0).is_map() )
      |                               ^~~~~~

This should be patchable (the deprecation notices did mention a replacement), but I’m not up to it today, sorry. Upstream has bug #49 for this, but they haven’t yet fixed this, either.

stativ commented on 2020-02-11 10:07 (UTC)

disowned

bartus commented on 2020-02-04 14:15 (UTC) (edited on 2020-02-04 14:16 (UTC) by bartus)

Need a fix for opencv4, here's a patch I've used:

git am < <(curl -s https://pastebin.com/raw/QtcZwRed)

Run in your local clone.

dreieck commented on 2019-11-08 14:34 (UTC)

Fails to build for me:

Scanning dependencies of target pfsalign
[ 95%] Building CXX object src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp: In function ‘bool alignImagePair(const cv::Mat&, const cv::Mat&, cv::Mat&, int, bool)’:
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:233:44: error: ‘CV_RANSAC’ was not declared in this scope
  233 |     homography = findHomography( pp2, pp1, CV_RANSAC, 1., inliners );
      |                                            ^~~~~~~~~
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp: In function ‘void alignFrames(int, char**)’:
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:62: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::width’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:95: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::width’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:118: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::height’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:152: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::height’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
make[2]: *** [src/camera/CMakeFiles/pfsalign.dir/build.make:63: src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1879: src/camera/CMakeFiles/pfsalign.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

trougnouf commented on 2019-10-29 15:11 (UTC) (edited on 2019-10-29 15:14 (UTC) by trougnouf)

The force magick6 patch results in

-- Could NOT find ImageMagick: Found unsuitable version "7.0.8-68", but required is exact version "6" (found /usr/lib/libMagick++-6.Q16HDRI.so)

-- ImageMagick not found. The following commands will not be compiled: pfsinimgmagick pfsoutimgmagick pfsouthdrhtml.

ImageMagick CFLAGS: /usr/include/ImageMagick-7

related bug: https://sourceforge.net/p/pfstools/bugs/46/ . Probably better to disable ImageMagick than include this path which makes it fail.

bartus commented on 2019-10-12 12:27 (UTC)

Working PKGBUILD for opencv4 : https://github.com/bartoszek/AUR-pfstools