Package Details: saga-gis 7.5.0-2

Git Clone URL: https://aur.archlinux.org/saga-gis.git (read-only, click to copy)
Package Base: saga-gis
Description: A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis.
Upstream URL: http://www.saga-gis.org
Keywords: GeoSpatial GIS
Licenses: GPL3
Submitter: None
Maintainer: geosam
Last Packager: geosam
Votes: 11
Popularity: 0.000000
First Submitted: 2007-07-16 01:57
Last Updated: 2020-01-09 21:45

Latest Comments

1 2 3 4 5 6 ... Next › Last »

kikislater commented on 2020-11-20 04:25

Use the following PKGBUILD with 7.8.1 version I'm in french as well ... type LANG=C in terminal before your command to avoid french words in output !

# Maintainer: Samuel Fernando Mesa Giraldo <samuelmesa@linuxmail.org>
# Maintainer: SaultDon <sault.don gmail>
# Contributor: Luigi Ranghetti <luigi.ranghetti@gmail.com>
# Contributor: Dominik Fuchs <dominik.fuchs@wur.nl>
# Contributor: Marcelo Avalos Tejeda <marcelo.avalos@gmail.com>

pkgname=saga-gis
_pkgname=saga
pkgver=7.8.1
pkgrel=1
pkgdesc="A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis."
url="http://www.saga-gis.org"
license=("GPL3")
arch=('i686' 'x86_64')
depends=('wxgtk'
         'proj' 'lua-hpdf'
         'gdal'
         'libtiff'
         'unixodbc'
         'jasper'
         'swig')
optdepends=('opencv3-opt'
            'vigra'
            'liblas'
            'libharu' 'libsvm')
source=("https://sourceforge.net/projects/saga-gis/files/SAGA - 7/SAGA - ${pkgver}/saga-${pkgver}.tar.gz")
md5sums=('8f32ca8ee79c3fad1a8a76e6ae99e8fa')

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"

  autoreconf -i

  ./configure --prefix=/usr \
              --enable-shared \
              --enable-python PYTHON_VERSION=3 PYTHON=/usr/bin/python \
              --with-postgresql=/usr/bin/pg_config \
              --with-gdal=/usr/bin/gdal-config \
              CXXFLAGS="`wx-config --version=3.0 --cxxflags` -I/opt/opencv3/include/" \
              LIBS="`wx-config --version=3.0 --libs`" \
              LDFLAGS="-L/opt/opencv3/lib/"

  msg "Start compiling ..."
  make -j$(nproc)
}

package () {
  cd "${srcdir}/${_pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install

  install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/src/saga_core/saga_gui/res/saga.png" \
                   "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
}

Phigger commented on 2020-11-19 08:43

Hello there, compilation doesn't work for me. I tried installing opcv3-opt firt, but it didn't fix the problem.

opencv.cpp: Dans la fonction « bool Copy_Grid_To_CVMatrix(CSG_Grid*, cv::Mat*, bool) »:
opencv.cpp:113:28: erreur: conversion de « cv::Mat » vers le type non scalaire « CvMat » demandée
  113 |    CvMat Row = pMatrix->row(y);
      |                ~~~~~~~~~~~~^~~
opencv.cpp: Dans la fonction « bool Copy_CVMatrix_To_Grid(CSG_Grid*, cv::Mat*, bool) »:
opencv.cpp:147:28: erreur: conversion de « cv::Mat » vers le type non scalaire « CvMat » demandée
  147 |    CvMat Row = pMatrix->row(y);

This is where I get that having my computer in French won't help...

jannes-m commented on 2020-10-10 20:14

Unfortunately, I cannot install saga because the dependency lua-hpdf cannot be installed (see also the comments section of https://aur.archlinux.org/packages/lua-hpdf/).

paneves commented on 2020-03-06 16:38

Yes. I've managed to compile it after installing opencv3-opt

LeSimon commented on 2020-03-05 14:31

The package compiled for me after installing opencv3-opt (listed as an optional dependency)

paneves commented on 2020-02-28 19:05

Same here...

giswqs commented on 2020-01-12 02:58

Having opencv errors:

opencv_ml.h:60:10: fatal error: opencv2/core/version.hpp: No such file or directory 60 | #include "opencv2/core/version.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from opencv_morphology.h:72, from opencv_morphology.cpp:61: opencv.h:75:10: fatal error: opencv/cv.h: No such file or directory 75 | #include <opencv/cv.h> | ^~~~~~~~~~~~~ compilation terminated. make[5]: *** [Makefile:555: opencv_morphology.lo] Error 1 In file included from opencv_stereo_match.h:72, from opencv_stereo_match.cpp:61:

geosam commented on 2020-01-09 21:50

Update version to 7.5.0 with fix opencv version

qs9rx commented on 2019-11-09 17:00

Same fatal error: opencv/cv.h: No such file or directory errors here.

damir commented on 2019-10-12 08:30

7.4.0-1 fails compiling:

libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../../.. -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -I/usr/include/opencv -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -fopenmp -lgomp -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT MLB_Interface.lo -MD -MP -MF .deps/MLB_Interface.Tpo -c MLB_Interface.cpp  -fPIC -DPIC -o .libs/MLB_Interface.o
In file included from /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/c++config.h:524,
                 from /usr/include/c++/9.2.0/cmath:41,
                 from /usr/include/c++/9.2.0/math.h:36,
                 from ../../../../src/saga_core/saga_api/api_core.h:107,
                 from ../../../../src/saga_core/saga_api/geo_tools.h:79,
                 from ../../../../src/saga_core/saga_api/mat_tools.h:87,
                 from ../../../../src/saga_core/saga_api/dataobject.h:78,
                 from ../../../../src/saga_core/saga_api/table.h:81,
                 from ../../../../src/saga_core/saga_api/grid.h:77,
                 from ../../../../src/saga_core/saga_api/grids.h:80,
                 from ../../../../src/saga_core/saga_api/parameters.h:79,
                 from ../../../../src/saga_core/saga_api/tool.h:81,
                 from ../../../../src/saga_core/saga_api/tool_library.h:81,
                 from ../../../../src/saga_core/saga_api/saga_api.h:113,
                 from MLB_Interface.h:65,
                 from opencv.h:72,
                 from opencv_fourier.h:72,
                 from opencv_fourier.cpp:61:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/c++config.h:524,
                 from /usr/include/c++/9.2.0/cmath:41,
                 from /usr/include/c++/9.2.0/math.h:36,
                 from ../../../../src/saga_core/saga_api/api_core.h:107,
                 from ../../../../src/saga_core/saga_api/geo_tools.h:79,
                 from ../../../../src/saga_core/saga_api/mat_tools.h:87,
                 from ../../../../src/saga_core/saga_api/dataobject.h:78,
                 from ../../../../src/saga_core/saga_api/table.h:81,
                 from ../../../../src/saga_core/saga_api/grid.h:77,
                 from ../../../../src/saga_core/saga_api/grids.h:80,
                 from ../../../../src/saga_core/saga_api/parameters.h:79,
                 from ../../../../src/saga_core/saga_api/tool.h:81,
                 from ../../../../src/saga_core/saga_api/tool_library.h:81,
                 from ../../../../src/saga_core/saga_api/saga_api.h:113,
                 from MLB_Interface.h:65,
                 from MLB_Interface.cpp:60:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  382 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from opencv_fourier.h:72,
                 from opencv_fourier.cpp:61:
opencv.h:75:10: fatal error: opencv/cv.h: No such file or directory
   75 | #include <opencv/cv.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[5]: *** [Makefile:555: opencv_fourier.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from opencv.cpp:61:
opencv.h:75:10: fatal error: opencv/cv.h: No such file or directory
   75 | #include <opencv/cv.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[5]: *** [Makefile:555: opencv.lo] Error 1
MLB_Interface.cpp:62:10: fatal error: opencv/cv.h: No such file or directory
   62 | #include <opencv/cv.h>
      |          ^~~~~~~~~~~~~
compilation terminated.