Difference between revisions of "Hugin Compiling Gentoo"

From PanoTools.org Wiki
Jump to navigation Jump to search
(Update for 0.8.0, recent overlay changes)
Line 71: Line 71:
 
emerge -av hugin
 
emerge -av hugin
 
</pre>
 
</pre>
 
If you have libpano12 installed, you'll run in into a blocker warning.
 
Please unmerge libpano12 (you'll get libpano13 for it ;) ):
 
<pre>
 
emerge --unmerge libpano12
 
</pre>
 
 
'''NOTE''': If you used the old overlay tarball once provided here and still have
 
media-gfx/autopano-sift-c (with a lower-case "C") installed, please unmerge it as well.
 
  
 
== Staying up2date ==
 
== Staying up2date ==
Line 89: Line 80:
 
For ebuilds from the Gentoo portage tree, [http://bugs.gentoo.org Gentoo's Bugzilla] is the way to go.
 
For ebuilds from the Gentoo portage tree, [http://bugs.gentoo.org Gentoo's Bugzilla] is the way to go.
  
Please '''DO NOT''' report overlay-related bugs there. Instead, please [http://stud3.tuwien.ac.at/~e0726415/contact.html contact me directly].
+
Please '''DO NOT''' report overlay-related bugs there. Instead, please [http://pani.webhop.org/c contact me directly].
  
 
[[Category:Software:Hugin]]
 
[[Category:Software:Hugin]]
 
[[Category:Software:Platform:Linux]]
 
[[Category:Software:Platform:Linux]]

Revision as of 11:27, 16 August 2009

Preface

These are instructions to build hugin and the whole set of helper applications required from CVS/SVN.

UPDATE:

Hugin 0.8.0 is now available in portage. If you prefer a in-portage solution (instead of the bleeding edge), you should go for this one.


These instructions are work in progress. They're testet on x86 only (though amd64 should work just fine). (Maybe ppc as well. If you try on ppc, please tell me if it works or not.)

If anything does not work: Bugs

Setting up the overlay

If you've never worked with a overlay, please read http://en.gentoo-wiki.com/wiki/Overlays (especially the section on layman) to get an idea of what we're doing here.

The next steps are:

  • Installing layman (if you haven't already).
  • Add the overlay listing to layman's config.
  • Add the overlay using layman.

First sudo, so you have sufficient permissions:

sudo -s
(enter your password)

Install layman (IF YOU HAVEN'T ALREADY DONE SO):

emerge -av layman
echo "source /usr/portage/local/layman/make.conf" >>  /etc/make.conf

Add the overlay listing: Open /etc/layman/layman.cfg in your favourite editor and change:

overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
            http://pani.webhop.org/download/overlays.xml

Save and exit.

Add the overlay using layman:

layman -f
layman -a panotools

Run "layman -S" (or eix-sync if you have it installed and configured to sync layman overlays) periodicaly for new updates.

Unmasking

The versions in the overlay are masked as unstable. You'll have to unmask them:

Open /etc/portage/package.keywords (if it doesn't exist, create it) and add the following lines:

=media-gfx/hugin-9999 ~x86
=media-gfx/enblend-9999 ~x86
=media-libs/libpano13-9999 ~x86
=media-gfx/autopano-sift-C-9999 ~x86

For more information on unmasking, have a look at the Gentoo Handbook.

Installing

Now the fun part! Run

emerge -av hugin

Staying up2date

Run "emerge -av -1 hugin enblend libpano13 autopano-sift-C" regularly to build the latest versions.

You could also use the update-live-ebuilds script that upgrades only if something actually changed.

Bugs

For ebuilds from the Gentoo portage tree, Gentoo's Bugzilla is the way to go.

Please DO NOT report overlay-related bugs there. Instead, please contact me directly.