Difference between revisions of "Hugin Compiling Gentoo"
(Added newer version) |
|||
(20 intermediate revisions by 4 users not shown) | |||
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 2010.2.0 is now stable in portage. If you prefer a in-portage solution instead of the bleeding edge, you should just 'emerge hugin'. | |
+ | |||
+ | There are also some newer but unstable versions. For recent results see package page at [http://packages.gentoo.org/package/media-gfx/hugin] | ||
|} | |} | ||
− | |||
− | If | + | These instructions are work in progress. They're tested 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: [[Hugin_Compiling_Gentoo#Bugs|Bugs]] | ||
== Setting up the overlay == | == Setting up the overlay == | ||
− | If you've never worked with a overlay, please read http://gentoo | + | |
+ | {| style="margin: 1em auto 1em 1em;background:#FFFF99;color:#FF0000;text-align:left;border: solid #FF3300;" | ||
+ | |-valign="top" | ||
+ | ! '''Note:''' | ||
+ | The overlay listed below does not appear to be available. | ||
+ | |} | ||
+ | |||
+ | |||
+ | If you've never worked with a overlay, please read http://www.gentoo.org/proj/en/overlays/userguide.xml (especially the section on layman) to get an idea of what we're doing here. | ||
The next steps are: | 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: | First sudo, so you have sufficient permissions: | ||
Line 29: | Line 37: | ||
</pre> | </pre> | ||
− | + | Install layman (IF YOU HAVEN'T ALREADY DONE SO): | |
<pre> | <pre> | ||
− | + | emerge -av layman | |
+ | echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf | ||
</pre> | </pre> | ||
− | + | Add the overlay listing: | |
+ | Open /etc/layman/layman.cfg in your favourite editor and change: | ||
<pre> | <pre> | ||
− | + | overlays : http://www.gentoo.org/proj/en/overlays/repositories.xml | |
− | + | http://pani.webhop.org/download/overlays.xml | |
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
+ | Save and exit. | ||
− | Add the overlay | + | Add the overlay using layman: |
<pre> | <pre> | ||
− | + | layman -f | |
+ | layman -a panotools | ||
</pre> | </pre> | ||
− | + | Run "layman -S" (or eix-sync if you have it installed and configured to sync layman overlays) periodicaly for new updates. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Unmasking == | == Unmasking == | ||
Line 65: | Line 67: | ||
=media-gfx/enblend-9999 ~x86 | =media-gfx/enblend-9999 ~x86 | ||
=media-libs/libpano13-9999 ~x86 | =media-libs/libpano13-9999 ~x86 | ||
− | =media-gfx/autopano-sift- | + | =media-gfx/autopano-sift-C-9999 ~x86 |
</pre> | </pre> | ||
+ | |||
+ | 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 the Gentoo Handbook]. | ||
== Installing == | == Installing == | ||
Line 74: | Line 78: | ||
</pre> | </pre> | ||
− | If you | + | === enblend-staging === |
− | + | If you know what you're doing and want to install enblend from Christoph Spiel's -staging branch, you can do: | |
<pre> | <pre> | ||
− | emerge --unmerge | + | emerge --unmerge enblend |
+ | emerge enblend-staging | ||
</pre> | </pre> | ||
+ | |||
+ | == Staying up to date == | ||
+ | Run "emerge -av -1 hugin enblend libpano13 autopano-sift-C" regularly to build the latest versions. | ||
+ | |||
+ | You could also use the [http://avuton.googlepages.com/update-live-ebuilds update-live-ebuilds script] that upgrades only if something actually changed. | ||
+ | |||
+ | If you are running sys-apps/portage-2.2* you can run emerge -av @live-rebuild to rebuild all your live packages. | ||
== Bugs == | == Bugs == | ||
− | Please '''DO NOT''' report bugs | + | For ebuilds from the Gentoo portage tree, [http://bugs.gentoo.org Gentoo's Bugzilla] is the way to go. |
− | Instead, | + | |
+ | 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]] | ||
+ | [[Category:Software:Hugin:Compiling]] |
Latest revision as of 12:55, 13 August 2011
Preface
These are instructions to build hugin and the whole set of helper applications required from CVS/SVN.
UPDATE:
Hugin 2010.2.0 is now stable in portage. If you prefer a in-portage solution instead of the bleeding edge, you should just 'emerge hugin'. There are also some newer but unstable versions. For recent results see package page at [1] |
---|
These instructions are work in progress. They're tested 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
Note:
The overlay listed below does not appear to be available. |
---|
If you've never worked with a overlay, please read http://www.gentoo.org/proj/en/overlays/userguide.xml (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/repositories.xml 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
enblend-staging
If you know what you're doing and want to install enblend from Christoph Spiel's -staging branch, you can do:
emerge --unmerge enblend emerge enblend-staging
Staying up to date
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.
If you are running sys-apps/portage-2.2* you can run emerge -av @live-rebuild to rebuild all your live packages.
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.