Hugin Compiling FreeBSD

From PanoTools.org Wiki
(Difference between revisions)
Jump to: navigation, search
(Changing between different versions)
 
Line 24: Line 24:
  
 
This port is currently maintained by Greg Lehey <grog (at) FreeBSD.org>.
 
This port is currently maintained by Greg Lehey <grog (at) FreeBSD.org>.
 +
 +
=== Multiple versions ===
 +
 +
It is not possible to install both the released and the development versions of Hugin on the same machine.  If you want to experiment, first make a backup of the installed version, remove it, and install the other version.  If you want to go back, remove the new version and restore the old version.
 +
 +
For example, to try a new development version, you would do:
 +
 +
<pre>
 +
$ su
 +
# cd /usr/ports/graphics/hugin
 +
# make backup
 +
# make deinstall
 +
# cd /usr/ports/graphics/hugin-devel
 +
# make clean install
 +
</pre>
 +
 +
If you then decide to go back to the old version, you can do:
 +
 +
<pre>
 +
# make backup
 +
# make deinstall
 +
# cd /usr/ports/graphics/hugin
 +
# pkg_add hugin-2012.0.0.tbz
 +
</pre>
  
 
== Install the binary package ==
 
== Install the binary package ==

Latest revision as of 07:16, 13 March 2013

FreeBSD supports Hugin with two ports in the ports collection. The FreeBSD project is currently in a transition from building ports locally to distributing binary packages. This page describes both approaches. Note that the binary package approach is changing, and this description could become out of date.

Contents

[edit] Build locally

The details of building FreeBSD ports are described here. Briefly, once you ensure that your ports tree is up to date,

[edit] Install the latest released port

$ su
# cd /usr/ports/graphics/hugin
# make clean install

This port is currently maintained by Vasil Dimov <vd (at) FreeBSD.org>.

[edit] Install the latest development version

$ su
# cd /usr/ports/graphics/hugin-devel
# make clean install

This port is currently maintained by Greg Lehey <grog (at) FreeBSD.org>.

[edit] Multiple versions

It is not possible to install both the released and the development versions of Hugin on the same machine. If you want to experiment, first make a backup of the installed version, remove it, and install the other version. If you want to go back, remove the new version and restore the old version.

For example, to try a new development version, you would do:

$ su
# cd /usr/ports/graphics/hugin
# make backup
# make deinstall
# cd /usr/ports/graphics/hugin-devel
# make clean install

If you then decide to go back to the old version, you can do:

# make backup
# make deinstall
# cd /usr/ports/graphics/hugin
# pkg_add hugin-2012.0.0.tbz

[edit] Install the binary package

The following command installs the latest version of the released binary package. This may be older than the version in the ports collection.

$ su
# pkg_add -r hugin
Personal tools
Namespaces

Variants
Actions
Navigation
tools
Tools