Package Details: sfcgal 1.5.1-1

Git Clone URL: (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:
Keywords: GIS
Licenses: GPL3
Provides: sfcgal
Submitter: albertid
Maintainer: kikislater
Last Packager: kikislater
Votes: 5
Popularity: 0.35
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 :

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 : ? 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 >




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

arch=(i686 x86_64)





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




build() {

cd $srcdir/SFCGAL-$pkgver

cmake -Wno-dev \








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)


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