LWN.net Logo

The Grumpy Editor's hugin experience

The Grumpy Editor's hugin experience

Posted Sep 20, 2009 2:47 UTC (Sun) by asdlfiui788b (guest, #58839)
Parent article: The Grumpy Editor's hugin experience

I'm surprised nobody mentioned that hugin uses Mono. I discovered that
when I got rid of Mono on my Kubuntu system--it took hugin with it. Surely
everyone by now knows about the Mono controversy. It's tainted by the
Microsoft/Novell agreement. Your tinfoil-hat size may vary.


(Log in to post comments)

Mono?

Posted Sep 20, 2009 4:08 UTC (Sun) by corbet (editor, #1) [Link]

Don't know what Kubuntu has done, but, on my Fedora box, hugin has no dependency on mono.

Mono?

Posted Sep 21, 2009 9:48 UTC (Mon) by mp (subscriber, #5615) [Link]

Most likely they use the C# autopano-sift instead of the C port.

The Grumpy Editor's hugin experience

Posted Sep 20, 2009 7:48 UTC (Sun) by Cato (subscriber, #7643) [Link]

I just checked on Ubuntu 8.04 and there's no mono dependency for hugin, hugin-bin, hugin-tools, etc.

For the anti-mono crowd, here's a handy command:

# aptitude why mono
No justification for mono could be constructed.

The Grumpy Editor's hugin experience

Posted Sep 22, 2009 10:30 UTC (Tue) by mikecalder (guest, #60928) [Link]

That surprised me - I've had to stop using hugin for a couple of years or so because of the Mono requirement. Every update of Ubuntu I get, I check again.

I'm using the latest version of Ubuntu, 9.04.

I checked again after you said Ubuntu 8.04 dosn't need Mono (which was not my recollection).

If you're right on Ubuntu 8.04, sorry, but you're wrong on 9.04. Telling Synaptic to install hugin pulls in all the Mono cruft. I have a 64 bit machine, but the 32 bit packages can scarcely be different, can they?

If someone, somewhere, can put together a package or install script that lets me use hugin without Mono, I'll use it.

Until then, I'm continuing to use a Windows package under Wine.

The Grumpy Editor's hugin experience

Posted Sep 22, 2009 11:18 UTC (Tue) by nye (guest, #51576) [Link]

>Until then, I'm continuing to use a Windows package under Wine.

It seems a little incongruous that you're happy to use Wine, but not mono :P.

That said, it does seem a little brain-damaged that Ubuntu have decided to make a required dependency on what should be an optional package, and one for which a C version already exists, no less.

Anyway, your options probably aren't great for running outside Wine: you could install the Debian version of the package, which would mean that you then need to get autopano-sift-c from debian-multimedia, or you could build from source - it may be possible to build from the Ubuntu source package but not include the C# autopano-sift (not sure).

Or you could just continue using Wine. Performance does suffer a little - probably mostly because it's 32-bit - but you're not missing out on a great deal (except that it's butt-ugly :P).

The Grumpy Editor's hugin experience

Posted Sep 24, 2009 13:53 UTC (Thu) by mikecalder (guest, #60928) [Link]

>It seems a little incongruous that you're happy to use Wine, but not mono :P.

Not at all; they're quite different animals.

Wine allows you to continue to run legacy applications for which no current new open source alternative exists.

Mono is for new code to be written that runs on Windows.

So Wine allows you to get away from the evil while still having the nasties that can't be changed just yet, while Mono only allows you to create new evil. ;-)

The Grumpy Editor's hugin experience

Posted Sep 22, 2009 18:32 UTC (Tue) by khc (subscriber, #45209) [Link]

Looks like hugin depends on hugin-tools which suggests autopano-sift, which requires mono. Since hugin-tools only suggests autopano-sift, you can remove autopano-sift (and mono) afterward, or configure apt to not install suggested packages by default.

The Grumpy Editor's hugin experience

Posted Sep 23, 2009 10:58 UTC (Wed) by nye (guest, #51576) [Link]

I'm not sure what hugin packages you're looking at, but they aren't the ones in the Ubuntu repository, unless packages.ubuntu.org is providing incorrect dependency information.

The Ubuntu hugin package depends on autopano-sift, for which only the mono version exists.

(And FWIW, apt doesn't install suggested packages by default, though I believe it does now install recommended packages by default.)

The Grumpy Editor's hugin experience

Posted Sep 23, 2009 21:28 UTC (Wed) by khc (subscriber, #45209) [Link]

In 9.04:

$ apt-cache show hugin | grep Depends
Depends: hugin-tools (= 0.7.0-1ubuntu2), enblend (>= 3.2), enfuse, libimage-exiftool-perl, make, autopano-sift, libboost-thread1.34.1 (>= 1.34.1-8), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libpano13-0, libstdc++6 (>= 4.2.1), libtiff4, libwxbase2.8-0 (>= 2.8.9.1), libwxgtk2.8-0 (>= 2.8.9.1)

$ apt-cache show hugin-tools | grep -E 'Depends|Suggests'
Depends: hugin-data (= 0.7.0-1ubuntu2), libboost-thread1.34.1 (>= 1.34.1-8), libc6 (>= 2.4), libexiv2-5, libgcc1 (>= 1:4.1.1), libilmbase6, libjpeg62, libopenexr6 (>= 1.6.1), libpano13-0, libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.2.1), libtiff4
Suggests: autopano-sift | autopano-sift-c

And apt-get install of hugin asks me to install autopano-sift.

The Grumpy Editor's hugin experience

Posted Sep 24, 2009 12:52 UTC (Thu) by nye (guest, #51576) [Link]

I think there's one part you didn't notice:

>$ apt-cache show hugin | grep Depends
>Depends: hugin-tools (= 0.7.0-1ubuntu2), enblend (>= 3.2), enfuse, libimage-exiftool-perl, make, autopano-sift, ...

So hugin depends on autopano-sift, and the fact that hugin-tools also suggests it is not relevant.

The Grumpy Editor's hugin experience

Posted Nov 6, 2009 13:02 UTC (Fri) by mikecalder (guest, #60928) [Link]

The Hugin website has a page describing in detail the commands needed to install Hugin (actually, compile from scratch) specifically for Ubuntu. It does not need, or even discuss, Mono. I've now don this successfully on both Jaunty and Karmic, and am a happy Ubuntu Hugin user.

Apparently the Hugin developers are very happy to work with a C version of Autopano-sift and see no reason to pull in the additional overhead of Mono.

One wonders why Ubuntu has added it.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds