Package Details: sfcgal 1.3.9-2

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: adsun
Votes: 4
Popularity: 0.000000
First Submitted: 2013-10-21 08:10
Last Updated: 2020-12-01 14:01

Latest Comments

kikislater commented on 2020-12-01 11:45

One more thing : License is GPLv3+ not LGPL :

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

kikislater commented on 2020-12-01 11:41

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

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

@ryan0270 fixed, thanks for the notification.

ryan0270 commented on 2020-11-29 20:51

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

@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

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

Done

geosam commented on 2014-11-17 21:41

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