Package Details: orfeo-toolbox 7.1.0-3

Git Clone URL: https://aur.archlinux.org/orfeo-toolbox.git (read-only, click to copy)
Package Base: orfeo-toolbox
Description: ORFEO Toolbox (OTB) is an open source library of image processing algorithms
Upstream URL: http://www.orfeo-toolbox.org/otb/
Licenses: CeCILL
Submitter: ArArgyridis
Maintainer: ArArgyridis
Last Packager: ArArgyridis
Votes: 14
Popularity: 0.000013
First Submitted: 2011-09-01 07:08
Last Updated: 2020-05-08 22:29

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

kikislater commented on 2016-05-22 17:08

Work with this PKGBUILD

# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Mesa <samuelmesa@linuxmail.org>

pkgname=orfeo-toolbox
pkgver=5.4
minorver=0
pkgrel=1
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org/otb/"
license=('CeCILL')
groups=()
depends=('cmake' 'gdal' 'agg' 'freeglut' 'curl' 'fftw' 'tinyxml' 'muparser' 'fltk' 'python2' 'openthreads'
'hdf5' 'insight-toolkit' 'libkml' 'ossim' 'libsvm' 'mapnik')
makedepends=('boost' 'swig')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=

source=(https://www.orfeo-toolbox.org/packages/OTB-$pkgver.$minorver.tgz
git://github.com/jmichel-otb/GKSVM.git)
noextract=()

md5sums=('7abceaebd6c8e0116b0170535e4e4236'
'SKIP')

_gitname="GKSVM"

prepare() {
## Module for monteverdi build
cd $srcdir/
cp -ra $srcdir/GKSVM $srcdir/OTB-$pkgver.$minorver/Modules/Remote
}

build() {
cd $srcdir/
msg "Extracting archive..."
msg "starting make..."

if [ -d "$srcdir/build/" ]; then
rm -rf $srcdir/build/
fi
mkdir $srcdir/build/

cd $srcdir/build

cmake ../OTB-$pkgver.$minorver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -fPIC" \
-DCMAKE_C_FLAGS="$CFLAGS -fPIC" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DOTB_USE_CURL=ON \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTING=OFF \
-DOTB_WRAP_PYTHON=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARIES=/usr/lib/libpython2.7.so \
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7/ \
-DOTB_INSTALL_PYTHON_DIR=/usr/lib/python2.7/site-packages/ \
-DITK_DIR=/usr/lib64/cmake/ITK-4.8 \
-DBUILD_SHARED_LIBS=ON \
-DOTB_USE_QT4=ON \
-DOTB_USE_MAPNIK=OFF \
-DOTB_USE_OPENCV=ON \
-DOTB_USE_MUPARSER=ON \
-DOTB_USE_LIBKML=ON \
-DOTB_USE_LIBSVM=ON \
-DOTB_DATA_USE_LARGEINPUT=ON

make

}

package() {
# Install an ldconfig conf for Orfeo libs to be visible on the
# system. Arch runs `ldconfig' after install automatically:
echo "/usr/lib/otb
/usr/lib/otb/applications" > "${srcdir}/${pkgname}.conf"
install -D -m644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"

cd "$srcdir/"build
make DESTDIR="$pkgdir" install
}

kikislater commented on 2016-05-22 15:46

curl: (22) The requested URL returned error: 404 Not Found
==> ERREUR : Erreur lors du téléchargement de https://www.orfeo-toolbox.org/packages/OTB-5.2.1.tar.gz
Abandon...

Please update

ArArgyridis commented on 2015-12-13 20:29

ah ok, then I will try it and update this, when OTB 5.2 comes out ;-)

Thanks for the links :-)

femtomatic commented on 2015-12-11 16:16

I was not able to compile the OSSIM package either, but I use the ossim-nogui-svn package and it compiles with GDAL-2.0 without problems. I haven't tried the ossim-svn package since I don't need the gui, but it might work as well.

edit:
I forgot to include the url for the packages:
https://aur.archlinux.org/packages/ossim-nogui-svn/
https://aur.archlinux.org/packages/ossim-svn/

ArArgyridis commented on 2015-12-10 09:19

Hello femtomatic,

OTB 5.0 can not be compiled with GDAL 2.0. OTB 5.2 will be though.

I also try to compile the nightly builds from github. However I have issues with OSSIM+GDAL 2.0.... Did you compiled OSSIM with GDAL 2.0?

femtomatic commented on 2015-12-09 02:49

Hi ArArgyridis,

I haven't been able to compile the package since the move to gdal-2.0, have you had any luck?

Right now I'm working with the nightly builds from github (https://github.com/orfeotoolbox/OTB), here is the PKGBUILD I have been using: http://pastebin.com/H3JEtAMQ

Cheers!

ArArgyridis commented on 2015-08-27 06:35

Thank you for mentioning this femtomatic, I updated the PKBUILD

femtomatic commented on 2015-08-19 15:28

Hi,

The insight-toolkit package has been updated to 4.8, could you update line 61 of the PKGBUILD from
-DITK_DIR=/usr/lib64/cmake/ITK-4.7 \
to
-DITK_DIR=/usr/lib64/cmake/ITK-4.8 \

Thanks for maintaining this package!

ArArgyridis commented on 2015-07-16 12:04

Hey pjduplooy,

Well I think that it is best to avoid the superbuild system for OTB.

OTB has many depedencies and I imagine that someone might already be using some of these libraries. So I think that it is preferable to avoid multiple instances of the same library

pjduplooy commented on 2015-07-11 06:32

Hi

I also get the /usr/lib64 error compiling the ossim part, and I know there was a solution posted somewhere on AUR comments (a GIS related package) but for the love of it cant find it now. Any help? In the meantime I just used the ossim package from ArArgyridis.

Have you tried building orfeo with their superbuild system (new in 5.0)?

Works like a charm!!!!

Pieter