Package Details: sfcgal 1.5.1-1

Git Clone URL: https://aur.archlinux.org/sfcgal.git (read-only, click to copy)
Package Base: sfcgal
Description: Wrapper around the CGAL library that intents to implement 2D and 3D operations on OGC standards models
Upstream URL: https://gitlab.com/Oslandia/SFCGAL
Keywords: GIS
Licenses: GPL3
Provides: sfcgal
Submitter: albertid
Maintainer: kikislater
Last Packager: kikislater
Votes: 5
Popularity: 0.31
First Submitted: 2013-10-21 08:10 (UTC)
Last Updated: 2024-02-22 05:04 (UTC)

Latest Comments

MarsSeed commented on 2024-02-21 10:33 (UTC)

Hi @kikislater,

I would just like to bring your attention to the possibility for you to adopt, if you so choose, the postgis-sfcgal package.

It has been abandoned since 2016 and was long broken. I have pushed a working and up-to-date build, but I have then disowned it, as I myself don't use it.

kikislater commented on 2020-12-01 11:45 (UTC)

One more thing : License is GPLv3+ not LGPL :

https://gitlab.com/Oslandia/SFCGAL/-/commit/21a778e374d7cc1f2135519c9a5c201e114f71a9

kikislater commented on 2020-12-01 11:41 (UTC) (edited on 2020-12-01 11:41 (UTC) by kikislater)

Why not taking url from release page : https://gitlab.com/Oslandia/SFCGAL/-/releases ? Easy and faster to download tar.gz than a git repo

ryan0270 commented on 2020-12-01 01:25 (UTC)

I'm getting a build error:

/usr/include/SFCGAL/algorithm/differencePrimitives.h:34:10: fatal error: 'CGAL/corefinement_operations.h' file not found

It looks like sfcgal copied some files (CGAL_PATCHES) that were removed as of cgal 4.14. Those files are not installed with this PKGBUILD

adsun commented on 2020-11-30 02:40 (UTC)

@ryan0270 fixed, thanks for the notification.

ryan0270 commented on 2020-11-29 20:51 (UTC)

you have the library listed as GPL but according to the main sfcgal website, and the gitlab repo, it's LGPL

kikislater commented on 2018-12-15 11:15 (UTC) (edited on 2018-12-15 11:16 (UTC) by kikislater)

@albertid, please update ! It builds fine with :

Maintainer: Hannes Graeuler < hgraeule [at] uos [dot] de >

pkgname=sfcgal

pkgver=1.3.6

pkgrel=1

pkgdesc="Wrapper around the CGAL library that intents to implement 2D and 3D operations on OGC standards models"

arch=(i686 x86_64)

url="http://oslandia.github.io/SFCGAL/index.html"

license=('GPL')

groups=()

provides=('sfcgal')

depends=('cgal>=4.1' 'boost' 'gmp' 'mpfr' 'openscenegraph')

makedepends=('cmake')

source=("https://github.com/Oslandia/SFCGAL/archive/v$pkgver.tar.gz")

sha256sums=('5840192eb4a1a4e500f65eedfebacd4bc4b9192c696ea51d719732dc2c75530a')

build() {

cd $srcdir/SFCGAL-$pkgver

cmake -Wno-dev \

    -DCMAKE_INSTALL_PREFIX:PATH=/usr \

    -DCMAKE_INSTALL_LIBDIR=/usr/lib \

    -DSFCGAL_BUILD_VIEWER=1 \

    -DSFCGAL_BUILD_EXAMPLES=1 \

    -DSFCGAL_BUILD_TEST=1 .

make

}

package() {

cd $srcdir/SFCGAL-$pkgver

make DESTDIR=$pkgdir install

rm -rf $pkgdir/usr/include/CGAL

}

meierphi commented on 2015-04-22 12:17 (UTC)

After the changes made to pacman (since version 4.2) it is necessary to tell cmake where to install libraries. The build section in PKGBUILD should look like this to avoid an installation error: build() { cd $srcdir/SFCGAL-$pkgver cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DSFCGAL_BUILD_VIEWER=1 \ -DSFCGAL_BUILD_EXAMPLES=1 \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DSFCGAL_BUILD_TEST=1 . make }

albertid commented on 2014-11-19 21:03 (UTC)

Done

geosam commented on 2014-11-17 21:41 (UTC)

Is posible @albertid add the viewer and examples: cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DSFCGAL_BUILD_VIEWER=1 \ -DSFCGAL_BUILD_EXAMPLES=1 \ -DSFCGAL_BUILD_TEST=1