sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Florian Franzmann (3143d5ff0375830735fccc9e7a5abcbf6356c5de)
- From: Florian Franzmann <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Florian Franzmann (3143d5ff0375830735fccc9e7a5abcbf6356c5de)
- Date: Sun, 14 Jul 2019 20:08:29 +0000
GIT changes to master grimoire by Florian Franzmann
<siflfran AT hawo.stw.uni-erlangen.de>:
ChangeLog | 6 ++++
graphics-libs/opencsg/BUILD | 1
graphics-libs/opencsg/DEPENDS | 3 ++
graphics-libs/opencsg/DETAILS | 16 ++++++++++
graphics-libs/opencsg/HISTORY | 4 ++
graphics-libs/opencsg/PRE_BUILD | 6 ++++
graphics-libs/opencsg/opencsg-1.4.2-includepath.patch | 24 ++++++++++++++++
science/cgal/BUILD | 1
science/cgal/DEPENDS | 15 ++++++++++
science/cgal/DETAILS | 23 +++++++++++++++
science/cgal/HISTORY | 3 ++
science/openscad/BUILD | 1
science/openscad/DEPENDS | 27
++++++++++++++++++
science/openscad/DETAILS | 20 +++++++++++++
science/openscad/HISTORY | 3 ++
15 files changed, 153 insertions(+)
New commits:
commit 3143d5ff0375830735fccc9e7a5abcbf6356c5de
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
science/openscad: new spell, the programmer's solid 3D modeller
commit 5a31b3dcd355c8874a2a457b7d61867b1799c9b7
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
science/cgal: new spell, the computational geometry algorithms library
commit 63a776b9fa5bac05ad4b7103144bc5fe9eabc990
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
graphics-libs/opencsg: new spell, a CSG library
diff --git a/ChangeLog b/ChangeLog
index 65951d0..cfc323b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-07-14 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * graphics-libs/opencsg: new spell, a CSG library
+ * science/cgal: new spell, the computational geometry algorithms
+ library
+ * science/openscad: new spell, the programmer's solid 3D modeller
+
2019-07-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* audio-libs/opusfile: new spell, a lib for decoding opus files
diff --git a/graphics-libs/opencsg/BUILD b/graphics-libs/opencsg/BUILD
new file mode 100755
index 0000000..0694f56
--- /dev/null
+++ b/graphics-libs/opencsg/BUILD
@@ -0,0 +1 @@
+qt5_build
diff --git a/graphics-libs/opencsg/DEPENDS b/graphics-libs/opencsg/DEPENDS
new file mode 100755
index 0000000..fe77596
--- /dev/null
+++ b/graphics-libs/opencsg/DEPENDS
@@ -0,0 +1,3 @@
+depends OPENGL &&
+depends gcc &&
+depends glew
diff --git a/graphics-libs/opencsg/DETAILS b/graphics-libs/opencsg/DETAILS
new file mode 100755
index 0000000..3a9a68e
--- /dev/null
+++ b/graphics-libs/opencsg/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=opencsg
+ VERSION=1.4.2
+ SOURCE="OpenCSG-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://www.${SPELL}.org/${SOURCE}
+
SOURCE_HASH=sha512:fbe6f925982717ecca7bd0eacc4fc5b362c80c7663b1ff0d9a228f2b5e1d3625d3e6d324d9e634665c74e9c0fc37d10290ece293e59a3eba67035b6b700b7778
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/OpenCSG-${VERSION}"
+ WEB_SITE="http://www.opencsg.org"
+ LICENSE[0]=GPL
+ ENTERED=20190714
+ SHORT="a library that does image-based CSG rendering using OpenGL"
+cat << EOF
+OpenCSG is a library that does image-based CSG rendering using OpenGL. CSG is
+short for Constructive Solid Geometry and denotes an approach to model
complex
+3D-shapes using simpler ones. I.e., two shapes can be combined by taking the
+union of them, by intersecting them, or by subtracting one shape of the
other.
+EOF
diff --git a/graphics-libs/opencsg/HISTORY b/graphics-libs/opencsg/HISTORY
new file mode 100644
index 0000000..f2dc4d3
--- /dev/null
+++ b/graphics-libs/opencsg/HISTORY
@@ -0,0 +1,4 @@
+2019-07-14 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS, opencsg-1.4.2-includepath.patch, PRE_BUILD:
+ spell created
+
diff --git a/graphics-libs/opencsg/PRE_BUILD b/graphics-libs/opencsg/PRE_BUILD
new file mode 100755
index 0000000..695dbe6
--- /dev/null
+++ b/graphics-libs/opencsg/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+rm -rf glew &&
+patch -p1 < "$SPELL_DIRECTORY/opencsg-1.4.2-includepath.patch"
+
diff --git a/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch
b/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch
new file mode 100644
index 0000000..3a73095
--- /dev/null
+++ b/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch
@@ -0,0 +1,24 @@
+* Fix build with GCC 6
+* Don't hardcode libdir
+
+Gentoo-bug: 623840
+
+--- a/src/src.pro
++++ b/src/src.pro
+@@ -7,14 +7,14 @@
+ }
+
+ CONFIG += opengl warn_on release
+-INCLUDEPATH += ../include ../ $$INSTALLDIR/include
++INCLUDEPATH += ../include ..
+ CONFIG -= qt
+-LIBS += -L$$INSTALLDIR/lib -lGLEW
++LIBS += -lGLEW
+
+ DESTDIR = ../lib
+ headers.files = ../include/opencsg.h
+ headers.path = $$INSTALLDIR/include
+ target.path = $$INSTALLDIR/lib
+ INSTALLS += target headers
+
+ HEADERS = ../include/opencsg.h \
diff --git a/science/cgal/BUILD b/science/cgal/BUILD
new file mode 100755
index 0000000..0defb8d
--- /dev/null
+++ b/science/cgal/BUILD
@@ -0,0 +1 @@
+OPTS="-DWITH_LEDA=OFF $OPTS" cmake_build
diff --git a/science/cgal/DEPENDS b/science/cgal/DEPENDS
new file mode 100755
index 0000000..819e704
--- /dev/null
+++ b/science/cgal/DEPENDS
@@ -0,0 +1,15 @@
+depends -sub CXX gcc &&
+depends mpfr &&
+depends boost &&
+depends zlib &&
+depends libx11 &&
+depends OPENGL &&
+depends glu &&
+
+optional_depends eigen3 "-DWITH_Eigen3=ON" "-DWITH_Eigen3=OFF" "use Eigen3"
&&
+optional_depends zlib "-DWITH_ZLIB=ON" "-DWITH_ZLIB=OFF" "use zlib" &&
+optional_depends gmp "-DWITH_GMP=ON" "-DWITH_GMP=OFF" "use arbitrary
precision integers" &&
+optional_depends qtbase "-DWITH_CGAL_Qt5=ON" "-DWITH_CGAL_Qt5=OFF" "for GUI
support" &&
+if is_depends_enabled $SPELL qtbase; then
+ depends qtsvg
+fi
diff --git a/science/cgal/DETAILS b/science/cgal/DETAILS
new file mode 100755
index 0000000..ca969cb
--- /dev/null
+++ b/science/cgal/DETAILS
@@ -0,0 +1,23 @@
+ SPELL=cgal
+ VERSION=4.13.1
+ SOURCE="CGAL-${VERSION}.tar.gz"
+
SOURCE_URL[0]=https://codeload.github.com/CGAL/cgal/tar.gz/releases/CGAL-$VERSION
+
SOURCE_HASH=sha512:589a844a6e5c2a10ee325f8f0b597742d4242ce17efd5e6e583f8eeadf9abfc4970e2d9daabd73488388a90f524912a71354282b1df5298dd514d1c5a9e8bd68
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/cgal-releases-CGAL-${VERSION}"
+ WEB_SITE="https://www.cgal.org"
+ LICENSE[0]=GPL
+ ENTERED=20190714
+ SHORT="a software project that provides easy access to efficient
and reliable geometric algorithms"
+cat << EOF
+CGAL is a software project that provides easy access to efficient and
reliable
+geometric algorithms in the form of a C++ library. CGAL is used in various
+areas needing geometric computation, such as geographic information systems,
+computer aided design, molecular biology, medical imaging, computer graphics,
+and robotics.
+
+The library offers data structures and algorithms like triangulations,
Voronoi
+diagrams, Boolean operations on polygons and polyhedra, point set processing,
+arrangements of curves, surface and volume mesh generation, geometry
+processing, alpha shapes, convex hull algorithms, shape reconstruction,
+AABB and KD trees.
+EOF
diff --git a/science/cgal/HISTORY b/science/cgal/HISTORY
new file mode 100644
index 0000000..f5ad011
--- /dev/null
+++ b/science/cgal/HISTORY
@@ -0,0 +1,3 @@
+2019-07-14 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
diff --git a/science/openscad/BUILD b/science/openscad/BUILD
new file mode 100755
index 0000000..0694f56
--- /dev/null
+++ b/science/openscad/BUILD
@@ -0,0 +1 @@
+qt5_build
diff --git a/science/openscad/DEPENDS b/science/openscad/DEPENDS
new file mode 100755
index 0000000..791ace7
--- /dev/null
+++ b/science/openscad/DEPENDS
@@ -0,0 +1,27 @@
+depends gcc &&
+depends qtbase &&
+depends qscintilla &&
+depends cgal &&
+depends gmp &&
+depends mpfr &&
+depends cmake &&
+depends boost &&
+# "-DBoost_USE_STATIC_LIBS=OFF
-DBOOST_INCLUDEDIR=${INSTALL_ROOT}/usr/include
-DBOOST_LIBRARYDIR=${INSTALL_ROOT}/usr/lib" &&
+sub_depends boost FILESYSTEM &&
+sub_depends boost SYSTEM &&
+sub_depends boost THREAD &&
+sub_depends boost REGEX &&
+sub_depends boost PROGRAM_OPTIONS &&
+
+depends opencsg &&
+depends glew &&
+depends eigen3 &&
+depends glib2 &&
+depends fontconfig &&
+depends freetype2 &&
+depends harfbuzz &&
+depends libzip &&
+depends bison &&
+depends flex &&
+depends pkgconfig &&
+depends double-conversion
diff --git a/science/openscad/DETAILS b/science/openscad/DETAILS
new file mode 100755
index 0000000..b0f4cd3
--- /dev/null
+++ b/science/openscad/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=openscad
+ VERSION=2019.05
+ SOURCE="${SPELL}-${VERSION}.src.tar.gz"
+ SOURCE_URL[0]=https://files.${SPELL}.org/${SOURCE}
+
SOURCE_HASH=sha512:073053f625ffa4fea6ed836396b7ff4b87b26cf7500b06c804983afc0f1dfd3d78bfb81b3fd217c3939b0ec915d85b0c7990773eaf968512a150deaa0399df13
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://www.openscad.org"
+ LICENSE[0]=GPL
+ ENTERED=20190714
+ SHORT="a software for creating solid 3D CAD objects"
+cat << EOF
+OpenSCAD is a free software application for creating solid 3D CAD
+(computer-aided design) objects. It is a script-only based modeller that
+uses its own description language; parts can be previewed, but it cannot be
+interactively selected or modified by mouse in the 3D view. An OpenSCAD
script
+specifies geometric primitives (such as spheres, boxes, cylinders, etc.) and
+defines how they are modified and combined (for instance by intersection,
+difference, envelope combination and Minkowski sums) to render a 3D model.
+As such, the program does constructive solid geometry (CSG).
+EOF
diff --git a/science/openscad/HISTORY b/science/openscad/HISTORY
new file mode 100644
index 0000000..f5ad011
--- /dev/null
+++ b/science/openscad/HISTORY
@@ -0,0 +1,3 @@
+2019-07-14 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
- [SM-Commit] GIT changes to master grimoire by Florian Franzmann (3143d5ff0375830735fccc9e7a5abcbf6356c5de), Florian Franzmann, 07/14/2019
Archive powered by MHonArc 2.6.24.