But today I had a free day and I wanted to learn the Mercurial MQ
Extension so I decided to give the $SUBJ a try.
Attached is a series of patches which apply to VIGRA from mercurial
[1]. In the next mail I'll send a patch to make Hugin work with
patched VIGRA 1.8 (it's too big to fit in this email).
Please review them and comment on them, because I'd like to send
them to the upstream soon. I'm not sure about copyrights in some cases
(eg. canvasSize patch) but I think most of it is Pablo's work. I'll look
it up in the subversion history.
Before applying patches you should read their descriptions below:
VIGRA-canvasSize.diff
----------------------------
Implements setCanvasSize() and getCanvasSize functions. These
functions are used for setting canvas size in nona. Necessary for
VIGRA-OpenEXR.diff to work.
This is most likely work of Pablo d'Angelo.
VIGRA-OpenEXR.diff
-------------------------
Implements support for OpenEXR in VIGRA. VIGRA-canvasSize.diff has to
be applied first. Work of Pablo d'Angelo (and the compression bits
have been made by me).
VIGRA-bigTIFF.diff
---------------------
Support for BigTIFF in VIGRAs TIFF decoder. Does not depend on any
other patches. Probably Pablo's work.
VIGRA-PACKBITS.diff
--------------------------
Support for PACKBITS compression in TIFF decoder. Does not depend on
any other patches. Probably Pablo's work.
VIGRA-FixCrashLogLuv.diff
---------------------------------
Fixes the crash when trying to load LogLuv TIFF. Doesn't add support
for LogLuv though. This has to be applied before
VIGRA-supportLogLuv.diff. This time credit goes to me.
VIGRA-supportLogLuv.diff
--------------------------------
Add support for loading LogLuv TIFF (eg. from Luminance HDR). Depends
on VIGRA-FixCrashLogLuv.diff. Credit goes to me.
Regards,
Lukas
> Please review them and comment on them, because I'd like to send
> them to the upstream soon. I'm not sure about copyrights in some cases
> (eg. canvasSize patch) but I think most of it is Pablo's work. I'll look
> it up in the subversion history.
>
great, looks good, feel free to submit those to vigra!
ciao
Pablo
Hello Pablo,
thank you for giving it the thumbs up, especially given the fact it's
mostly your work.
I'll wait some time if there was some response from others, meanwhile
I'd like to update the copyright headers of the affected files.
Have a nice day,
Lukas
I send the patches upstream today. See the following emails:
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000818.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000819.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000820.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000821.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000822.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000823.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000825.html
https://mailhost.informatik.uni-hamburg.de/pipermail/vigra/2011-March/000824.html
Lukas
Lukas
Thank you. I'm glad it could make your work on getting
cross-compilation easier. Your work seems very interesting. I wish you
luck, this could be very useful for Hugin.
Lukas
Hi Bart
Am 31.03.2011 18:06, schrieb Bart van Andel:
> Nice work!
>
> I've been working on getting Hugin to cross-compile from Linux to
> Windows in my precious spare time, and the stock vigra lib already
> compiles, so this will definitely help!
I had a look at his, too. However, without being able to actually use
the resulting binaries due to my lack of a windows license and my lack
of interest to get one, I figured that I won't be able to support this
kind of port. On the other side, if I had a windows license and would be
willing to create panos on this platform, wouldn't it be more natural to
use the (available) free MS development tools for porting?
I think that hugin needs to attract some more windows users being able
to fend for their OS themselves. Providing binaries that are not tested
by the producer and that can not be properly supported, therefore, does
not help.
Sorry, just my 2 cents.
Regards
Stefan Peter
- --
In theory there is no difference between theory and practice. In
practice there is.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNlODcAAoJEBgqi52L7+L/13kH/ja8c8DNhfUTlPEwXiIdtZVB
Pcf0n1rcEqdBTT3GmNks9Hfr9St/m9ct70EPIu5pIPyDWv+d/2M08KaowQphuJ1D
1BxuLod3DlEfNbdTCpJd0JXoG+/pOxAwslPDfMgKX9BB7LKMgx5OLDRtyHcT5T/O
NbMqFWmkUVXK7+/sWsjtrPNcT8Xf7kRmcqD0CU+19qX9i5VjXxBS58/t7QSUhnyg
q1MJSo2E/5KYU172dfXCEaPCS1zZiok0kvqpdIAdFcU9S3DmJVr/X42/RT5ykS8D
oq509Ml8Hv6m4lMCLglNkRWZKzzcFTxE4UUda8TQzzC3czxCknDpOLLt3wviqO8=
=WQR/
-----END PGP SIGNATURE-----
Am 31.03.2011 18:06, schrieb Bart van Andel:
> I've been working on getting Hugin to cross-compile from Linux to
> Windows in my precious spare time, and the stock vigra lib already
> compiles, so this will definitely help!I had a look at his, too. However, without being able to actually use
the resulting binaries due to my lack of a windows license and my lack
of interest to get one, I figured that I won't be able to support this
kind of port. On the other side, if I had a windows license and would be
willing to create panos on this platform, wouldn't it be more natural to
use the (available) free MS development tools for porting?
I think that hugin needs to attract some more windows users being able
to fend for their OS themselves. Providing binaries that are not tested
by the producer and that can not be properly supported, therefore, does
not help.
Sorry, just my 2 cents.
Lukáš, thanks for doing this, it has been needed for a long time.
Regarding fixing the Hugin sources, there is no need to remove the
Hugin copy of the library from the sources if it is possible to
build with the system library as an option. vigra now has a
vigra-config tool which gives output similar to pkg-config, so it
should be possible for cmake to detect if the system vigra is >
1.7.1
--
Bruno
Regarding fixing the Hugin sources, there is no need to remove the
Hugin copy of the library from the sources if it is possible to
build with the system library as an option.
Yes and no, it can't be removed until there is a vigra release, but
we don't know when this will be. Also the pressure from Linux
distributions is for binary packages to use system libraries, they
don't care what unused cruft is in the Hugin tarball.
If the latest vigra happens to fix any of the longstanding bugs that
keep getting reported in the hugin/enblend trackers then it could
even be worth updating the vigra code in hugin/enblend.
--
Bruno