Package Details: grass 8.3.1-1

Git Clone URL: https://aur.archlinux.org/grass.git (read-only, click to copy)
Package Base: grass
Description: Geospatial data management and analysis, image processing, graphics/maps production, spatial modeling and visualization
Upstream URL: http://grass.osgeo.org/
Keywords: analysis GIS remote sensing spatial
Licenses: GPL
Submitter: Scimmia
Maintainer: kikislater
Last Packager: kikislater
Votes: 38
Popularity: 0.000004
First Submitted: 2015-09-06 15:10 (UTC)
Last Updated: 2023-11-11 13:04 (UTC)

Latest Comments

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

marcocurreli commented on 2022-01-09 17:49 (UTC)

It works, thanks

kikislater commented on 2022-01-09 09:40 (UTC)

Applying this PR : https://github.com/OSGeo/grass/pull/1718 solves the first issue launching GUI ... but there are others and a lot to apply. Furthermore, Archlinux is still with this old python-wxpython 4.0.7 version whereas grass needs 4.1.1. Better is to use 8.0.0RC1 at this time !

Grass 8 was planned for christmas but delayed ...

So you could use this PKGBUILD below =>

# Maintainer: Sylvain POULAIN <sylvain dot poulain at giscan dot com>
# Contributor: Doug Newgard <scimmia at archlinux dot org>
# Contributor: Maciej Sieczka <msieczka at sieczka dot org>

pkgname=grass
pkgver=8.0.0RC1
pkgrel=1
_shortver=${pkgver%.*}; _shortver=${_shortver/./}
pkgdesc='Geospatial data management and analysis, image processing, graphics/maps production, spatial modeling and visualization'
arch=('i686' 'x86_64')
url='http://grass.osgeo.org/'
license=('GPL')
depends=('bzip2' 'cairo' 'fftw' 'fontconfig' 'freetype2' 'gcc-libs' 'gdal' 'geos' 'glibc' 'glu'
         'libpng' 'libtiff' 'libx11' 'libgl' 'netcdf' 'pdal' 'proj' 'python-gdal' 'python-numpy'
         'python-pillow' 'python-wxpython41' 'readline' 'zlib' 'zstd')
makedepends=('libxt')
optdepends=('postgresql: PostgreSQL database interface'
            'sqlite: SQLite database interface')
source=("http://grass.osgeo.org/grass$_shortver/source/$pkgname-$pkgver.tar.gz")
md5sums=('766d61ba1e3ef69da0af673f7322d459')

build() {
  cd $pkgname-$pkgver

  # Ancient autoconf used upstream can't handle CPPFLAGS correctly, so set CPP to ignore warnings
  CPP="gcc -E -w" \
  ./configure \
    --prefix=/opt/$pkgname \
    --with-freetype-includes=/usr/include/freetype2 \
    --with-wxwidgets \
    --with-readline \
    --with-pthread \
    --with-netcdf \
    --with-nls \
    --with-geos \
    --with-postgres \
    --with-pdal \
    --with-bzlib \
    --with-zstd

  LC_ALL=C
  make
}

package() {
  cd $pkgname-$pkgver

  make exec_prefix="$pkgdir/usr" INST_DIR="$pkgdir/opt/$pkgname" install

  # Install linker config file, needed for qgis to find grass
  install -d "$pkgdir/etc/ld.so.conf.d/"
  echo "/opt/$pkgname/lib" > "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"

  cd "$pkgdir/opt/$pkgname"
  # Put freedesktop.org files in correct location
  mv share "$pkgdir/usr"

  # Fix some paths that get hard coded by make install
  sed -i "s|$pkgdir||g" demolocation/.grassrc$_shortver \
                        include/Make/{Platform,Grass}.make \
                        etc/fontcap \
                        "$pkgdir/usr/bin/grass"
}

francopv commented on 2022-01-09 04:01 (UTC)

Any idea on when will v8 will arrive? or how to solve this issue in the meantime?

kikislater commented on 2022-01-08 12:48 (UTC)

python-wxpython needs rebuild Furthermore grass 7.8 doesn't work with python 3.10 It works with 8.0.0 RC1 ... Still waiting v8 release

marcocurreli commented on 2022-01-08 12:17 (UTC) (edited on 2022-01-08 12:19 (UTC) by marcocurreli)

I've errors launching the gui:

Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1016,wx containers,compatible with 2.8).

Vassily commented on 2021-06-18 05:12 (UTC)

Thank you so much! You were a great help The patch worked.

jamiejquinn commented on 2021-06-17 10:26 (UTC)

GDAL 3.3 has broken GRASS compilation and vector/v.hull/chull.c must be patched to fix. I added the application of this patch to the PKGBUILD along with a prepare block which applies the patch:

...
source=("http://grass.osgeo.org/grass$_shortver/source/$pkgname-$pkgver.tar.gz" "https://github.com/OSGeo/grass/commit/b86314c7.patch")
md5sums=('91f4830a5164cea703384814cd89cdf9' 'e72affb054af2794560971ddab90d0a2')

prepare() {
    cd "$pkgname-$pkgver"
    patch --forward --strip=1 --input="${srcdir}/b86314c7.patch"
}
...

dobedobedo commented on 2021-06-02 06:30 (UTC) (edited on 2021-06-02 06:32 (UTC) by dobedobedo)

Hi, Is it possible to add a LC_ALL=C before make, so that the users don't need to specify themselves? Without that the compilation will fail due to locale issue.

kikislater commented on 2021-04-25 11:23 (UTC) (edited on 2021-04-25 17:14 (UTC) by kikislater)

Could you please add python-pysvn as dependency or optional dependency to allow installation of plugins ?