Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162080 - pfstools, pfscalibration and pfstmo - high dynamic range photography tools
Summary: pfstools, pfscalibration and pfstmo - high dynamic range photography tools
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 5 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://www.mpi-inf.mpg.de/resources/p...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-01-14 18:00 UTC by Emmanuel Favre_Nicolin
Modified: 2012-08-23 16:14 UTC (History)
16 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pfstools ebuild (pfstools-1.5.ebuild,676 bytes, text/plain)
2007-01-14 18:01 UTC, Emmanuel Favre_Nicolin
Details
pfscalibration ebuild (pfscalibration-1.3.ebuild,679 bytes, text/plain)
2007-01-14 18:02 UTC, Emmanuel Favre_Nicolin
Details
pfstmo ebuild (pfstmo-1.0.ebuild,589 bytes, text/plain)
2007-01-14 18:03 UTC, Emmanuel Favre_Nicolin
Details
pfstmo front-end ebuild (qpfstmo-1.0.ebuild,723 bytes, text/plain)
2007-01-14 18:05 UTC, Emmanuel Favre_Nicolin
Details
patch for pfscalibration (pfscalibration-1.3-numerical_sep_gentoo.patch,582 bytes, text/plain)
2007-01-14 18:07 UTC, Emmanuel Favre_Nicolin
Details
qtpfsgui-1.8.2.ebuild (qtpfsgui-1.8.2.ebuild,765 bytes, text/plain)
2007-03-20 20:37 UTC, Jose Luis Bolos
Details
new version of qtpfsgui with exiv2 in the dependences (qtpfsgui-1.8.3.ebuild,758 bytes, patch)
2007-03-24 12:04 UTC, Emmanuel Favre_Nicolin
Details | Diff
ebuild for qtpfsgui-1.8.3 (qtpfsgui-1.8.3.ebuild,809 bytes, text/plain)
2007-03-28 20:35 UTC, Bruce Guenter
Details
ebuild for pfstools-1.6.2 (pfstools-1.6.2.ebuild,1003 bytes, text/plain)
2007-09-30 20:26 UTC, Ben Schwartz
Details
ebuild for media-gfx/qtpfsgui-1.8.12 (qtpfsgui-1.8.12.ebuild,847 bytes, text/plain)
2007-09-30 21:41 UTC, Ben Schwartz
Details
ebuild for media-libs/pfstmo-1.1 (pfstmo-1.1.ebuild,620 bytes, text/plain)
2007-09-30 22:03 UTC, Ben Schwartz
Details
improved ebuild for pfstools-1.6.2 (pfstools-1.6.2-r2.ebuild,1.95 KB, text/plain)
2008-03-23 00:56 UTC, Emmanuel Favre_Nicolin
Details
Version bump to 1.6.4 (pfstools-1.6.4.ebuild,2.20 KB, text/plain)
2008-04-08 21:06 UTC, Neil Alldrin
Details
Patch fixing compile / installation of matlab scripts on non x86 platforms. (matlab_mexext-1.6.4.patch,3.63 KB, text/plain)
2008-04-08 21:08 UTC, Neil Alldrin
Details
Updated dependencies of media-gfx/pfscalibration (pfscalibration-1.3.ebuild,692 bytes, text/plain)
2008-07-04 23:49 UTC, Alex Busenius
Details
Version bump to media-gfx/pfstmo-1.3 (pfstmo-1.3.ebuild,657 bytes, text/plain)
2008-07-04 23:51 UTC, Alex Busenius
Details
Version bump to media-gfx/pfstools-1.6.5 (pfstools-1.6.5.ebuild,1.35 KB, text/plain)
2008-07-04 23:52 UTC, Alex Busenius
Details
Fixes building of pfstools-1.6.5 against >=media-libs/netpbm-10.41.0 (pfstools-1.6.5-new-netpbm_gentoo.patch,327 bytes, patch)
2008-07-04 23:54 UTC, Alex Busenius
Details | Diff
Minor updates to media-gfx/pfstools-1.6.5 (pfstools-1.6.5-r1.ebuild,1.36 KB, text/plain)
2008-09-01 21:46 UTC, Neil Alldrin
Details
Added ~amd64 keyword to pfstmo-1.3 ebuild. (pfstmo-1.3.ebuild,664 bytes, text/plain)
2008-09-01 21:47 UTC, Neil Alldrin
Details
Version bump of media-gfx/pfstmo to version 1.3.2 (pfstmo-1.3.2.ebuild,664 bytes, text/plain)
2008-09-09 19:00 UTC, Neil Alldrin
Details
Version bump of media-gfx/pfscalibration to version 1.4 (pfscalibration-1.4.ebuild,699 bytes, text/plain)
2008-09-09 19:01 UTC, Neil Alldrin
Details
last pfstools ebuild (pfstools-1.8.1.ebuild,823 bytes, text/plain)
2009-11-08 23:18 UTC, Carlo Caponi
Details
pfscalibration-1.4.ebuild (pfscalibration-1.4.ebuild,659 bytes, text/plain)
2009-11-08 23:20 UTC, Carlo Caponi
Details
pfstmo-1.4.ebuild (mantiuk08 not working) (pfstmo-1.4.ebuild,633 bytes, text/plain)
2009-11-08 23:23 UTC, Carlo Caponi
Details
Improved ebuild, dependencies (pfstools-1.8.1.ebuild,1.34 KB, text/plain)
2009-11-13 17:53 UTC, Wojciech Porczyk
Details
Improved ebuild (pfstmo-1.4.ebuild,621 bytes, text/plain)
2009-11-13 19:00 UTC, Wojciech Porczyk
Details
Patch for the ebuild (pfstmo-1.4-mantiuk08-auto_ptr.patch,287 bytes, patch)
2009-11-13 19:02 UTC, Wojciech Porczyk
Details | Diff
Yet improved ebuild (pfstools-1.8.1.ebuild,1.38 KB, text/plain)
2009-11-13 19:02 UTC, Wojciech Porczyk
Details
Fix for gcc-4.4 / glibc 2.11 (pfstools-1.8.1-gcc4.4.patch,518 bytes, patch)
2009-12-05 09:46 UTC, Dan Douglas
Details | Diff
Apply fix (pfstools-1.8.1.ebuild,1.46 KB, text/plain)
2009-12-05 09:48 UTC, Dan Douglas
Details
Updated ebuild for pfstools-1.8.2 (pfstools-1.8.2.ebuild,1.56 KB, text/plain)
2010-07-06 18:29 UTC, Alex Domingo
Details
Improved ebuild for pfstmo-1.4 (pfstmo-1.4.ebuild,826 bytes, text/plain)
2010-07-06 18:37 UTC, Alex Domingo
Details
Improved ebuild for pfscalibration-1.4 (pfscalibration-1.4.ebuild,724 bytes, text/plain)
2010-07-06 18:41 UTC, Alex Domingo
Details
Ebuild for pfstools-1.8.3 (pfstools-1.8.3.ebuild,1.54 KB, text/plain)
2011-04-17 00:50 UTC, Alex Domingo
Details
pfscalibration-1.5.ebuild (pfscalibration-1.5.ebuild,725 bytes, text/plain)
2011-04-21 19:52 UTC, FluGer
Details
Ebuild for media-gfx/pfstmo-1.5 (pfstmo-1.5.ebuild,720 bytes, text/plain)
2012-08-23 16:14 UTC, Alex Domingo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Favre_Nicolin 2007-01-14 18:00:14 UTC
gentoo needs high dynamic range photography tools
pfstools, pfscalibration and pfstmo provides such tools: http://www.mpi-inf.mpg.de/resources/pfstools


Reproducible: Always
Comment 1 Emmanuel Favre_Nicolin 2007-01-14 18:01:25 UTC
Created attachment 106968 [details]
pfstools ebuild
Comment 2 Emmanuel Favre_Nicolin 2007-01-14 18:02:00 UTC
Created attachment 106969 [details]
pfscalibration ebuild
Comment 3 Emmanuel Favre_Nicolin 2007-01-14 18:03:20 UTC
Created attachment 106971 [details]
pfstmo ebuild

pfstmo is for converting HDR images to LDR (low dynamic range pot, like jpeg for printing for example)
Comment 4 Emmanuel Favre_Nicolin 2007-01-14 18:05:00 UTC
Created attachment 106972 [details]
pfstmo front-end ebuild
Comment 5 Emmanuel Favre_Nicolin 2007-01-14 18:07:34 UTC
Created attachment 106973 [details]
patch for pfscalibration

Solve the problem that appears if locale is not set so that numerical seperator is "." like in french locales.
Comment 6 Jose Luis Bolos 2007-03-20 20:37:55 UTC
Created attachment 113921 [details]
qtpfsgui-1.8.2.ebuild

Here is an ebuild for qtpfsgui, which is a Qt4 frontend for pfs*. I'm not sure if the dependencies in the ebuild are correct.
Comment 7 Ben Schwartz 2007-03-24 03:09:16 UTC
qtpfsgui-1.8.2.ebuild is missing a non-version-specific dependency on media-gfx/exiv2.  With that dependency added, I can confirm that qtpfsgui installs the correct dependencies and functions correctly.  It's a great program.
Comment 8 Emmanuel Favre_Nicolin 2007-03-24 12:04:41 UTC
Created attachment 114225 [details, diff]
new version of qtpfsgui with exiv2 in the dependences

Alost the same ebuild as the las one.
Just the new version of qtpfsgui with exiv2 in the dependences an some modifications :
adjusted the homepage
replaced qtpfsgui by ${PN}
modified the SRC_URI to:
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
Comment 9 Bruce Guenter 2007-03-28 20:35:03 UTC
Created attachment 114816 [details]
ebuild for qtpfsgui-1.8.3

Here is an ebuild for qtpfsgui-1.8.3

It adds the desktop file, icon, and HTML documentation.
Comment 10 Ben Schwartz 2007-09-30 20:26:21 UTC
Created attachment 132260 [details]
ebuild for pfstools-1.6.2

I added useflags for all the various features, so that they may be enabled/disabled independently.
Comment 11 Ben Schwartz 2007-09-30 21:41:57 UTC
Created attachment 132269 [details]
ebuild for media-gfx/qtpfsgui-1.8.12

Latests version of qtpfsgui.  Tested and working.
Comment 12 Ben Schwartz 2007-09-30 22:03:51 UTC
Created attachment 132270 [details]
ebuild for media-libs/pfstmo-1.1

This ebuild works for pfstmo-1.1.
Comment 13 Francesco Proietti 2007-10-30 20:16:41 UTC
This is only to let you all know that I was able to install and run successfully pfstools, pfstmo and qtpfsgui on my Gentoo 64bit by adding ~amd64 to the keywords.
Comment 14 Markus Meier gentoo-dev 2007-12-17 10:49:10 UTC
FYI: I added media-gfx/qtpfsgui-1.9.0 to the tree.
Comment 15 Emmanuel Favre_Nicolin 2008-03-17 01:27:28 UTC
I did my last update like this
emerge -uDav world
emerge -v depclean
revdep-rebuild -pv

And it resulted in an error when compiling pfstools-1.6.2 (looks like I'm missing a lib ?):

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../pfs -pthread -I/usr/include/OpenEXR       -O2  -march=pentium-m -pipe -fomit-frame-pointer -MT ppmio.o -MD -MP -MF ".deps/ppmio.Tpo" \
          -c -o ppmio.o `test -f 'ppmio.cpp' || echo './'`ppmio.cpp; \
        then mv -f ".deps/ppmio.Tpo" ".deps/ppmio.Po"; \
        else rm -f ".deps/ppmio.Tpo"; exit 1; \
        fi
ppmio.cpp:31:18: erreur: ppm.h : Aucun fichier ou répertoire de ce type
ppmio.cpp:38: erreur: ‘pixval’ does not name a type
ppmio.cpp: In constructor ‘PPMReader::PPMReader(FILE*)’:
ppmio.cpp:53: erreur: ‘struct PPMData’ has no member named ‘maxPV’
ppmio.cpp:53: erreur: ‘ppm_readppminit’ was not declared in this scope
ppmio.cpp: In member function ‘bool PPMReader::is8bitdata()’:
ppmio.cpp:58: erreur: ‘struct PPMData’ has no member named ‘maxPV’
ppmio.cpp: In member function ‘void PPMReader::readImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)’:
ppmio.cpp:63: erreur: ‘pixel’ was not declared in this scope
ppmio.cpp:63: erreur: ‘ppmRow’ was not declared in this scope
ppmio.cpp:64: erreur: ‘ppm_allocrow’ was not declared in this scope
ppmio.cpp:71: erreur: ‘struct PPMData’ has no member named ‘maxPV’
ppmio.cpp:71: erreur: ‘ppm_readppmrow’ was not declared in this scope
ppmio.cpp:78: erreur: ‘PPM_GETR’ was not declared in this scope
ppmio.cpp:79: erreur: ‘PPM_GETG’ was not declared in this scope
ppmio.cpp:80: erreur: ‘PPM_GETB’ was not declared in this scope
ppmio.cpp:84: erreur: ‘PPM_GETR’ was not declared in this scope
ppmio.cpp:85: erreur: ‘PPM_GETG’ was not declared in this scope
ppmio.cpp:86: erreur: ‘PPM_GETB’ was not declared in this scope
ppmio.cpp:90: erreur: ‘ppm_freerow’ was not declared in this scope
ppmio.cpp: In member function ‘void PPMWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)’:
ppmio.cpp:103: erreur: ‘pixel’ was not declared in this scope
ppmio.cpp:103: erreur: ‘ppmRow’ was not declared in this scope
ppmio.cpp:106: erreur: ‘ppm_allocrow’ was not declared in this scope
ppmio.cpp:109: erreur: ‘ppm_writeppminit’ was not declared in this scope
ppmio.cpp:115: erreur: ‘pixval’ was not declared in this scope
ppmio.cpp:117: erreur: ‘PPM_ASSIGN’ was not declared in this scope
ppmio.cpp:119: erreur: ‘ppm_writeppmrow’ was not declared in this scope
ppmio.cpp:122: erreur: ‘ppm_freerow’ was not declared in this scope
make[3]: *** [ppmio.o] Erreur 1
Comment 16 Emmanuel Favre_Nicolin 2008-03-23 00:49:23 UTC
It looks like I'm facing the same problem as was found with subtitleripper-0.3.4-r2 that does not compile fine with netpbm 10.41.0 that put ppm.h in /usr/include/netpbm/ instead of /usr/include for version 10.40.0, see bug 210435 : http://bugs.gentoo.org/show_bug.cgi?id=210435

I produced a new ebuild for pfstools that warn that pfstools does compile with netpbm flag if netpbm version is >=10.41.0 and die. The ebuild allows to compile without pbm.

I had a small problem with a colision with some "octave-type" pfstools file but I guess this was due to the previous manual installation of pfstools that looks like is not very safe and installed some files out of the prefix choosen (/opt/pfstools).
Comment 17 Emmanuel Favre_Nicolin 2008-03-23 00:56:36 UTC
Created attachment 146966 [details]
improved ebuild for pfstools-1.6.2

improved ebuild allowing to enable or not features and warn user about pfstools compilation difficulty when netpbm version is >=10.41.0
Comment 18 Neil Alldrin 2008-04-08 21:06:02 UTC
Created attachment 149133 [details]
Version bump to 1.6.4

Only a slight modification of the 1.6.2-r2 ebuild. Added ~amd64. Added a matlab use flag (that enables / disables matlab script creation). Also applies a patch (submitted upstream already) for building the matlab scripts on 64-bit platforms.
Comment 19 Neil Alldrin 2008-04-08 21:08:04 UTC
Created attachment 149136 [details]
Patch fixing compile / installation of matlab scripts on non x86 platforms.
Comment 20 Alex Busenius 2008-07-04 23:49:17 UTC
Created attachment 159584 [details]
Updated dependencies of media-gfx/pfscalibration

I think all these packages should be in category media-gfx, since they are command line tools and not libraries.
Comment 21 Alex Busenius 2008-07-04 23:51:20 UTC
Created attachment 159585 [details]
Version bump to media-gfx/pfstmo-1.3
Comment 22 Alex Busenius 2008-07-04 23:52:07 UTC
Created attachment 159587 [details]
Version bump to media-gfx/pfstools-1.6.5
Comment 23 Alex Busenius 2008-07-04 23:54:38 UTC
Created attachment 159588 [details, diff]
Fixes building of pfstools-1.6.5 against >=media-libs/netpbm-10.41.0
Comment 24 Neil Alldrin 2008-09-01 21:46:46 UTC
Created attachment 164295 [details]
Minor updates to media-gfx/pfstools-1.6.5

Added ~amd64 keyword. Changed emake to force -j1 which was causing matlab scripts not to compile correctly.
Comment 25 Neil Alldrin 2008-09-01 21:47:58 UTC
Created attachment 164297 [details]
Added ~amd64 keyword to pfstmo-1.3 ebuild.
Comment 26 Neil Alldrin 2008-09-09 19:00:37 UTC
Created attachment 165048 [details]
Version bump of media-gfx/pfstmo to version 1.3.2
Comment 27 Neil Alldrin 2008-09-09 19:01:12 UTC
Created attachment 165050 [details]
Version bump of media-gfx/pfscalibration to version 1.4
Comment 28 Dan Douglas 2008-12-30 22:33:40 UTC
pfstools is now at 1.7.0. version bumping 1.6.5-r1 seems to work okay.
Comment 29 Johannes Rauh 2009-09-24 08:47:29 UTC
So what is preventing pfstools from going to the tree?
Comment 30 Samuli Suominen (RETIRED) gentoo-dev 2009-09-24 09:15:09 UTC
(In reply to comment #29)
> So what is preventing pfstools from going to the tree?
> 

Prolly the fact that you're not yet a developer so you could add and maintain it ;-)
Comment 31 Carlo Caponi 2009-11-08 23:18:50 UTC
Created attachment 209680 [details]
last pfstools ebuild

working.
Comment 32 Carlo Caponi 2009-11-08 23:20:58 UTC
Created attachment 209682 [details]
pfscalibration-1.4.ebuild
Comment 33 Carlo Caponi 2009-11-08 23:23:45 UTC
Created attachment 209683 [details]
pfstmo-1.4.ebuild (mantiuk08 not working)

mantiuk08 operator still not working, so i had to delete the " || die" commands to compile phase. Other operators works fine.
Comment 34 Wojciech Porczyk 2009-11-13 17:53:27 UTC
Created attachment 210153 [details]
Improved ebuild, dependencies

I'm posting new ebuild, based on Carlo's work. Few things remain unresolved, namely pre-stripped octave modules and matlab and qt support.
Comment 35 Wojciech Porczyk 2009-11-13 19:00:55 UTC
Created attachment 210157 [details]
Improved ebuild

Improved ebuild, based on Carlo's work. Included hard dependency on fftw:3.0 and patch for mantiuk08
Comment 36 Wojciech Porczyk 2009-11-13 19:02:03 UTC
Created attachment 210158 [details, diff]
Patch for the ebuild

this patch is too stupid, but anyway...
Comment 37 Wojciech Porczyk 2009-11-13 19:02:50 UTC
Created attachment 210160 [details]
Yet improved ebuild

Corrected few own mistakes.
Comment 38 Dan Douglas 2009-12-05 09:46:39 UTC
Created attachment 212113 [details, diff]
Fix for gcc-4.4 / glibc 2.11 

I had this error with pfstools on gcc-4.4.2

pfspanoramic.cpp: In static member function ‘static Projection* ProjectionFactory::getProjection(const char*)’:
pfspanoramic.cpp:198: error: invalid conversion from ‘const char*’ to ‘char*’
Comment 39 Dan Douglas 2009-12-05 09:48:53 UTC
Created attachment 212116 [details]
Apply fix

Modified Wojciech's ebuild to apply the patch.
Comment 40 Alex Domingo 2010-07-06 18:29:03 UTC
Created attachment 237779 [details]
Updated ebuild for pfstools-1.8.2

Changes respect to the previous ebuild for pfstools:
- Removed the "raw" use flag. The dcraw dependency is mandatory.
- Removed the dependency on pfstmo, it's not strictly needed for pfstools.
- Added a message to inform the user that pfsview cannot be compiled without QT3 libs.

I've using this for some time in a stable amd64 Gentoo system and it worked so far without any problem.
Please test it :)

And I hope to see someday a maintainer for this nice software :D
Comment 41 Alex Domingo 2010-07-06 18:37:14 UTC
Created attachment 237785 [details]
Improved ebuild for pfstmo-1.4

Changes with respect to the previous pfstmo ebuild:
- Added the ~amd64 keyword.
- Made fftw an optional dependency by means of "fftw" use flag.
- Added a "debug" use flag.

Please test it :)
Comment 42 Alex Domingo 2010-07-06 18:41:39 UTC
Created attachment 237787 [details]
Improved ebuild for pfscalibration-1.4

Changes with respect the previous pfscalibration ebuild:
- Source URI modified.
- Added the ~amd64 keyword.
- Added the "debug" use flag.

Please test it :)
Comment 43 Kristian Niemi 2010-09-09 09:45:20 UTC
Built successfully on an amd64. Now on to test the app itself! :o)
Comment 44 Jaroslaw Kalinowski 2010-12-07 20:00:54 UTC
I needed to change:
----------------------------------------------------------------------
sheaf pfstools # diff -u pfstools-1.8.2.ebuild.orig pfstools-1.8.2.ebuild 
--- pfstools-1.8.2.ebuild.orig	2010-12-07 14:53:45.000000000 -0500
+++ pfstools-1.8.2.ebuild	2010-12-07 14:50:30.000000000 -0500
@@ -23,7 +23,7 @@
 	netpbm? ( >=media-libs/netpbm-10.49.00 )
 	tiff? ( >=media-libs/tiff-3.9.4 )
 	gdal? ( >=sci-libs/gdal-1.6.3-r1 )
-	opengl? ( >=virtual/glut-1.0 )
+	opengl? ( media-libs/freeglut )
 	"
 
 RDEPEND="${DEPEND}"

----------------------------------------------------------------------
to be able to merge.

I wonder when will this great piece of software finally make it's way to portage. It over 3 years now...
Comment 45 Alex Domingo 2011-04-17 00:50:36 UTC
Created attachment 270233 [details]
Ebuild for pfstools-1.8.3

Updated ebuild for pfstools-1.8.3.

Finally pfsview has been upgraded to qt4 and can be build in Gentoo. Therefore I added the respective qt4 flag and fixed the naming of the moc command required to compile it.

Enjoy!
Comment 46 FluGer 2011-04-21 19:52:00 UTC
Created attachment 270805 [details]
pfscalibration-1.5.ebuild

pfscalibration-1.5 is out

short changelog from http://sourceforge.net/projects/pfstools/files/pfscalibration/1.5/ :
"This release of pfscalibration fixes many issues with handling RAW (more than 8-bit) images. Robertson's algorithm should produce less banding. Mitsunaga and Nayar's algorithm is still broken. Two new scripts have been added: pfsinme - to skip generating an intermediate hdrgen file; and pfsplotresponse - for plotting camera response functions."

just renamed 1.4 ebuild,
worked with my pc (~amd64) and notebook (~x86)
Comment 47 Alex Domingo 2012-08-23 16:14:02 UTC
Created attachment 322020 [details]
Ebuild for media-gfx/pfstmo-1.5

pfstmo-1.5 was released some months ago.

There are improvements on fattal02 and mantiuk08 as well as bugfixes. The patch for mantiuk08 on pfstmo-1.4 is no longer needed. So I upload an updated ebuild for media-gfx/pfstmo.

Furthermore, a new minor release for pfstools also appeared with the numbering pfstools-1.8.5. The ebuild for 1.8.3 still holds for this latest minor release of pfstools.