I realize that this is not a democratic decision at all but so be it. (On the other hand: I'm the only mac builder right now. Therefore, the "mac builder community" unanimously decided this.)
--
I propose to make it the default.
CMakeLists.txt:311
--> OPTION(BUILD_HSI "Python Scripting Interface" ON)
> Kay
>
Kornel
On 04/14/2012 01:42 PM, Harry van der Wolf wrote:
>
> However (and I mentioned this before): When building a "linux like"
> Hugin simply with cmake, the python plugin structure works fine.
> The big issue is the universal bundle with python in it (or not currently).
Please forgive my ignorance when it comes to packaging for apple OS, but
bundling the complete python stuff with hugin seems at least
questionable to me.
What happens if the users already has a python interpreter installed?
Are you aware that you may have to provide (security) updates and
support for the python part as well? How many different python flavors
and versions may end up on a mac with multiple applications installed
that use python if all packagers bundle their own version?
Shouldn't it be be possible to state something like "If you want to use
the python plugins (highly recommended, by the way), please make sure a
python package is installed. I recommend ..." in the hugin bundle?
I'm sure you know that there are official python builds for the mac at
http://www.python.org/getit/mac/.
Just my 2 cents.
Regards
Stefan Peter
--
"In summary, I think you are trying to solve a problem that may not
need to be solved, using a tool that is not meant to solve it, without
understanding what is causing your problems and without knowing how
the tool actually works in the first place :)"
Jeffrey J. Kosowsky on the backuppc mailing list
Please forgive my ignorance when it comes to packaging for apple OS, but
bundling the complete python stuff with hugin seems at least
questionable to me.
What happens if the users already has a python interpreter installed?
Are you aware that you may have to provide (security) updates and
support for the python part as well? How many different python flavors
and versions may end up on a mac with multiple applications installed
that use python if all packagers bundle their own version?
Shouldn't it be be possible to state something like "If you want to use
the python plugins (highly recommended, by the way), please make sure a
python package is installed. I recommend ..." in the hugin bundle?
I'm sure you know that there are official python builds for the mac at
http://www.python.org/getit/mac/.
Just my 2 cents.
Regards
Stefan Peter
Though I think most of the recent Hugin code was written on Windows
by the other Thomas.
Hugin does build easily on Linux, but partly because people spend
the time to fix the Linux distributions. It took six months to get
tclap into fedora so we can remove that code from Hugin:
https://bugzilla.redhat.com/show_bug.cgi?id=683591 and I'm sure you
will find similar stories in other Linux distributions. It may seem
like Hugin has been created for Linux, but it's also kind-of the
other way around.
>I myself stopped building for Windows sometime last year because it
>had just gotten too hard to maintain a working build environment --
>and that was before the Python adventure.
..but there are so many libraries that could potentially transform
Hugin, it can't all be developed here in isolation:
http://www.wired.com/beyond_the_beyond/2012/04/tech-art-computer-vision-algorithm-implementations/
--
Bruno
Sorry, but I have to disagree:
On 16.04.2012 22:07, Tom Sharpless wrote:
> This thread should be a wake-up call for Hugin's developers.
>
> If you want Hugin to remain viable on Windows and OSX, you must
> discipline your use of packages that assume the Linux "build it
> yourself locally" philosophy.
The stable Hugin releases have been part of every mature linux distro I
know. There is no reason to "build it yourself locally" unless you
a) want to live on the bleeding edge of technology and
b) your distro does not supply you with nightly builds
That is simply not an option for Win
> and Mac users, so we have to rely on really heroic efforts by builders
> like Harry and Matt Petroff.
I agree: Kudos to Harry and Matt for their effort to supply Mac/Win
users with recent Hugin versions. I have coded for both platforms and I
know how different OSes are and what hurdles you have to jump in order
to make IT work.
Make life too hard for those guys, and
> Hugin becomes a Linux-only sandbox toy.
This is the part I can not agree: There are plenty of solutions for
creating panoramas for other operating systems than linux/BSD/***ix ...
Yes, you will have to pay for those, but you paid for the OS, too, so
what? Why should Hugin care for the least common denominator? Where is
my CP/M Hugin for my Rainbow 100?
Don't get me wrong: I'm not proposing that the Hugin development should
abandon mac or windows (or whatever other operating systems one may be
porting Hugin to). But neither should the development be restrict to the
limitations posed by non ***ix operating systems. Harry is doing it
exactly right: he tries to make it happen, getting official OS support
or not does not matter. And I'm quite sure that there is a way to get
python scripting for windows users, too: After all, TheGimp did it for
years, did he not?
> I myself stopped building for Windows sometime last year because it
> had just gotten too hard to maintain a working build environment --
> and that was before the Python adventure.
There are other FOSS projects that have jumped this hurdle, so it is
possible to do so. There is no reason to put our collective head into a
bucket: there are ways to overcome the limitations imposed upon us by
the operating systems.
One solution for windows that comes to mind is mingw[1] or mingw-64[2].
Another is cygwin[3] and there is mingw-cross-env [4], too. I have no
pointers for MacOS, but given the fact that MacOS is based on some BSD
derivate (IIRC), the differences to a ***ix should not be so grave as it
is in the win side.
> I don't know if it is too
> late to reverse this trend, but I do think it would be possible, with
> some thought about cross-platform issues, to resolve many of the
> current difficulties and prevent many new ones from arising.
>
Tom, please don't try to stand in the way of the technical advance. You
are doing a tremendous amount of work for the development and the
support of Hugin and your know-how and expertise in these areas is
invaluable. Your concerns regarding the integration of features like the
python scripting interface are very valid, but this will drive the
development and sooner or later, it will be integrated in the
distributions and solved to everyones satisfaction. If not, this egress
was an evolutionary death end and we will see a lua/perl/wsh solution
sooner or later.
With kind regards
Stefan Peter
[1]http://www.mingw.org/
[2]http://mingw-w64.sourceforge.net/
[3]http://www.cygwin.com/
[4]http://mxe.cc/
--
In theory there is no difference between theory and practice. In
practice there is.