Difference between revisions of "Hugin Compiling Gentoo"
(updated for 0.7.0) |
|||
Line 1: | Line 1: | ||
== Preface == | == Preface == | ||
These are instructions to build hugin and the whole set of helper applications required from CVS/SVN. | These are instructions to build hugin and the whole set of helper applications required from CVS/SVN. | ||
− | |||
− | |||
{| style="margin: 1em auto 1em 1em;background:#FFFF99;color:#FF0000;text-align:left;border: solid #FF3300;" | {| style="margin: 1em auto 1em 1em;background:#FFFF99;color:#FF0000;text-align:left;border: solid #FF3300;" | ||
|-valign="top" | |-valign="top" | ||
! '''UPDATE:''' | ! '''UPDATE:''' | ||
− | ! Hugin 0.7. | + | ! Hugin 0.7.0 is now available in portage. If you prefer a in-portage solution (instead of the bleeding edge), you should go for this one. |
+ | ! i.e., unmask the keyworded =media-gfx/hugin-0.7.0 and emerge it. | ||
+ | ! For more information on unmasking, have a look at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3#doc_chap2 . | ||
|} | |} | ||
+ | |||
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.) | 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.) |
Revision as of 17:40, 18 October 2008
Preface
These are instructions to build hugin and the whole set of helper applications required from CVS/SVN.
UPDATE: | Hugin 0.7.0 is now available in portage. If you prefer a in-portage solution (instead of the bleeding edge), you should go for this one. | i.e., unmask the keyworded =media-gfx/hugin-0.7.0 and emerge it. | For more information on unmasking, have a look at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3#doc_chap2 . |
---|
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://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds to get an idea of what we're doing here.
The next steps are:
- Download the tarball for the overlay.
- Unpack the tarball.
- Tell portage about the overlay.
First sudo, so you have sufficient permissions:
sudo -s (enter your password)
Download the tarball:
wget http://stud3.tuwien.ac.at/~e0726415/download/hugin_overlay-0.1.tar.bz2
Create an overlay directory: (if you already have one, you can leave this out)
mkdir /usr/portage/local/
Unpack the overlay tarball:
tar xjf hugin_overlay-0.1.tar.bz2 -C /usr/portage/local/
Add the overlay to your overlay list:
vim /etc/make.conf
Add
/usr/portage/local/hugin/
to the list in PORTDIR_OVERLAY (space separated).
If there is no PORTDIR_OVERLAY defined, just put the line
PORTDIR_OVERLAY="/usr/portage/local/hugin/"
in there.
Save and exit.
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
Installing
Now the fun part! Run
emerge -av hugin
If you have libpano12 installed, you'll run in into a blocker warning. Please unmerge libpano12 (you'll get libpano13 for it ;) ):
emerge --unmerge libpano12
Bugs
Please DO NOT report bugs to Gentoo's bugzilla. Instead, send a message to the hugin-ptx mailing list, or contact me directly.