Difference between revisions of "Hugin Compiling FreeBSD"
(Add Compiling category) |
(Remove instructions for the old style packages) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | Hugin | + | FreeBSD supports Hugin with two ports in the [http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/hugin/ 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. |
− | == Install | + | == Build locally == |
+ | |||
+ | The details of building FreeBSD ports are described [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html here]. Briefly, once you ensure that your ports tree is up to date, | ||
+ | |||
+ | === Install the package === | ||
+ | With the new packages collection, simply: | ||
<pre> | <pre> | ||
− | + | $ su | |
− | # | + | # pkg install hugin |
− | |||
− | |||
</pre> | </pre> | ||
− | == | + | === Install the latest released port === |
− | + | <pre> | |
− | + | $ su | |
− | + | # cd /usr/ports/graphics/hugin | |
− | + | # make clean install | |
− | + | </pre> | |
− | + | This port is currently maintained by Vasil Dimov <vd (at) FreeBSD.org>. | |
− | + | === Install the latest development version === | |
− | + | <pre> | |
− | + | $ su | |
− | + | # cd /usr/ports/graphics/hugin-devel | |
− | + | # make clean install | |
− | + | </pre> | |
− | |||
− | + | This port is currently maintained by Greg Lehey <grog (at) FreeBSD.org>. | |
− | + | === Multiple versions === | |
− | make a | + | 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> | <pre> | ||
− | # | + | $ su |
− | # | + | # cd /usr/ports/graphics/hugin |
− | # | + | # make backup |
+ | # make deinstall | ||
+ | # cd /usr/ports/graphics/hugin-devel | ||
+ | # make clean install | ||
</pre> | </pre> | ||
− | + | If you then decide to go back to the old version, you can do: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
− | + | # make backup | |
− | + | # make deinstall | |
− | . | + | # cd /usr/ports/graphics/hugin |
+ | # pkg_add hugin-2012.0.0.tbz | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Software:Hugin]] | [[Category:Software:Hugin]] | ||
− | [[Category: | + | [[Category:Software:Hugin:Compiling]] |
Revision as of 07:42, 3 October 2014
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.
Build locally
The details of building FreeBSD ports are described here. Briefly, once you ensure that your ports tree is up to date,
Install the package
With the new packages collection, simply:
$ su # pkg install hugin
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>.
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>.
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