pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

solvespace-git: Import solvespace-2.3 as wip/solvespace-git



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Wed Jan 25 23:53:39 2017 +0100
Changeset:	3502c143f6df444aacc3490dc7caec3f19771a31

Modified Files:
	Makefile
Added Files:
	solvespace-git/DESCR
	solvespace-git/Makefile
	solvespace-git/PLIST
	solvespace-git/distinfo
	solvespace-git/patches/patch-src_platform_unixutil.cpp

Log Message:
solvespace-git: Import solvespace-2.3 as wip/solvespace-git

SOLVESPACE is a parametric 3d CAD program. Applications include:

- modeling 3d parts - draw with extrudes, revolves,
  and Boolean (union / difference) operations
- modeling 2d parts - draw the part as a single section,
  and export DXF, PDF, SVG; use 3d assembly to verify fit
- 3d-printed parts - export the STL or other
  triangle mesh expected by most 3d printers
- preparing CAM data - export 2d vector art for a waterjet
  machine or laser cutter; or generate STEP or STL, for
  import into third-party CAM software for machining
- mechanism design - use the constraint solver to simulate
  planar or spatial linkages, with pin, ball, or slide joints
- plane and solid geometry - replace hand-solved trigonometry
  and spreadsheets with a live dimensioned drawing

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3502c143f6df444aacc3490dc7caec3f19771a31

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 solvespace-git/DESCR                               | 15 ++++
 solvespace-git/Makefile                            | 36 ++++++++
 solvespace-git/PLIST                               | 95 ++++++++++++++++++++++
 solvespace-git/distinfo                            |  7 ++
 .../patches/patch-src_platform_unixutil.cpp        | 15 ++++
 6 files changed, 169 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3a60c27..7dcceb8 100644
--- a/Makefile
+++ b/Makefile
@@ -3940,6 +3940,7 @@ SUBDIR+=	softvms
 SUBDIR+=	soil
 SUBDIR+=	solarus-zsdx
 SUBDIR+=	sollya
+SUBDIR+=	solvespace-git
 SUBDIR+=	songwrite2
 SUBDIR+=	sonic-visualiser
 SUBDIR+=	sophia
diff --git a/solvespace-git/DESCR b/solvespace-git/DESCR
new file mode 100644
index 0000000..0bfa262
--- /dev/null
+++ b/solvespace-git/DESCR
@@ -0,0 +1,15 @@
+SOLVESPACE is a parametric 3d CAD program. Applications include:
+
+- modeling 3d parts - draw with extrudes, revolves,
+  and Boolean (union / difference) operations
+- modeling 2d parts - draw the part as a single section,
+  and export DXF, PDF, SVG; use 3d assembly to verify fit
+- 3d-printed parts - export the STL or other
+  triangle mesh expected by most 3d printers
+- preparing CAM data - export 2d vector art for a waterjet
+  machine or laser cutter; or generate STEP or STL, for
+  import into third-party CAM software for machining
+- mechanism design - use the constraint solver to simulate
+  planar or spatial linkages, with pin, ball, or slide joints
+- plane and solid geometry - replace hand-solved trigonometry
+  and spreadsheets with a live dimensioned drawing
diff --git a/solvespace-git/Makefile b/solvespace-git/Makefile
new file mode 100644
index 0000000..1684ab1
--- /dev/null
+++ b/solvespace-git/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD$
+
+PKGNAME=	solvespace-2.3
+CATEGORIES=	cad
+MASTER_SITES=	${MASTER_SITE_GITHUB:=solvespace/}
+
+GIT_REPOSITORIES=	solvespace
+GIT_REPO.solvespace=	https://github.com/solvespace/solvespace.git
+WRKSRC=			${WRKDIR}/solvespace
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://solvespace.com/
+COMMENT=	Parametric 2D/3D CAD program
+LICENSE=	gnu-gpl-v3
+
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config
+
+# Build out-of-tree
+CMAKE_ARG_PATH=	..
+CONFIGURE_DIRS=	_build
+
+pre-configure:
+	${MKDIR} ${WRKSRC}/_build
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../x11/gtkmm3/buildlink3.mk"
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/solvespace-git/PLIST b/solvespace-git/PLIST
new file mode 100644
index 0000000..352eb66
--- /dev/null
+++ b/solvespace-git/PLIST
@@ -0,0 +1,95 @@
+@comment $NetBSD$
+bin/solvespace
+bin/solvespace-cli
+include/slvs.h
+lib/libslvs.so
+lib/libslvs.so.1
+lib/libslvs.so.3.0
+share/applications/solvespace.desktop
+share/icons/hicolor/16x16/apps/solvespace.png
+share/icons/hicolor/16x16/mimetypes/application.x-solvespace.png
+share/icons/hicolor/24x24/apps/solvespace.png
+share/icons/hicolor/24x24/mimetypes/application.x-solvespace.png
+share/icons/hicolor/32x32/apps/solvespace.png
+share/icons/hicolor/32x32/mimetypes/application.x-solvespace.png
+share/icons/hicolor/48x48/apps/solvespace.png
+share/icons/hicolor/48x48/mimetypes/application.x-solvespace.png
+share/pixmaps/solvespace-16x16.xpm
+share/pixmaps/solvespace-24x24.xpm
+share/pixmaps/solvespace-32x32.xpm
+share/pixmaps/solvespace-48x48.xpm
+share/solvespace/banner.txt
+share/solvespace/fonts/private/0-check-false.png
+share/solvespace/fonts/private/1-check-true.png
+share/solvespace/fonts/private/2-radio-false.png
+share/solvespace/fonts/private/3-radio-true.png
+share/solvespace/fonts/private/4-stipple-dot.png
+share/solvespace/fonts/private/5-stipple-dash-long.png
+share/solvespace/fonts/private/6-stipple-dash.png
+share/solvespace/fonts/private/7-stipple-zigzag.png
+share/solvespace/fonts/unicode.lff.gz
+share/solvespace/fonts/unifont.hex.gz
+share/solvespace/freedesktop/solvespace-48x48.png
+share/solvespace/icons/graphics-window/angle.png
+share/solvespace/icons/graphics-window/arc.png
+share/solvespace/icons/graphics-window/assemble.png
+share/solvespace/icons/graphics-window/bezier.png
+share/solvespace/icons/graphics-window/circle.png
+share/solvespace/icons/graphics-window/construction.png
+share/solvespace/icons/graphics-window/equal.png
+share/solvespace/icons/graphics-window/extrude.png
+share/solvespace/icons/graphics-window/horiz.png
+share/solvespace/icons/graphics-window/in3d.png
+share/solvespace/icons/graphics-window/lathe.png
+share/solvespace/icons/graphics-window/length.png
+share/solvespace/icons/graphics-window/line.png
+share/solvespace/icons/graphics-window/ontoworkplane.png
+share/solvespace/icons/graphics-window/other-supp.png
+share/solvespace/icons/graphics-window/parallel.png
+share/solvespace/icons/graphics-window/perpendicular.png
+share/solvespace/icons/graphics-window/point.png
+share/solvespace/icons/graphics-window/pointonx.png
+share/solvespace/icons/graphics-window/rectangle.png
+share/solvespace/icons/graphics-window/ref.png
+share/solvespace/icons/graphics-window/same-orientation.png
+share/solvespace/icons/graphics-window/sketch-in-3d.png
+share/solvespace/icons/graphics-window/sketch-in-plane.png
+share/solvespace/icons/graphics-window/step-rotate.png
+share/solvespace/icons/graphics-window/step-translate.png
+share/solvespace/icons/graphics-window/symmetric.png
+share/solvespace/icons/graphics-window/tangent-arc.png
+share/solvespace/icons/graphics-window/text.png
+share/solvespace/icons/graphics-window/trim.png
+share/solvespace/icons/graphics-window/vert.png
+share/solvespace/icons/text-window/constraint.png
+share/solvespace/icons/text-window/edges.png
+share/solvespace/icons/text-window/faces.png
+share/solvespace/icons/text-window/mesh.png
+share/solvespace/icons/text-window/normal.png
+share/solvespace/icons/text-window/occluded-invisible.png
+share/solvespace/icons/text-window/occluded-stippled.png
+share/solvespace/icons/text-window/occluded-visible.png
+share/solvespace/icons/text-window/outlines.png
+share/solvespace/icons/text-window/point.png
+share/solvespace/icons/text-window/shaded.png
+share/solvespace/icons/text-window/workplane.png
+share/solvespace/locales.txt
+share/solvespace/locales/en_US.po
+share/solvespace/locales/uk_UA.po
+share/solvespace/shaders/edge.frag
+share/solvespace/shaders/edge.vert
+share/solvespace/shaders/imesh.frag
+share/solvespace/shaders/imesh.vert
+share/solvespace/shaders/imesh_point.frag
+share/solvespace/shaders/imesh_point.vert
+share/solvespace/shaders/imesh_tex.frag
+share/solvespace/shaders/imesh_tex.vert
+share/solvespace/shaders/imesh_texa.frag
+share/solvespace/shaders/mesh.frag
+share/solvespace/shaders/mesh.vert
+share/solvespace/shaders/mesh_fill.frag
+share/solvespace/shaders/mesh_fill.vert
+share/solvespace/shaders/outline.vert
+share/solvespace/threejs/SolveSpaceControls.js
+share/solvespace/threejs/hammer-2.0.8.js.gz
+share/solvespace/threejs/three-r76.js.gz
diff --git a/solvespace-git/distinfo b/solvespace-git/distinfo
new file mode 100644
index 0000000..f8cc939
--- /dev/null
+++ b/solvespace-git/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (solvespace/v2.1.rc1.tar.gz) = 4b716d86811e780473368ab616b11d2bbc09a05d
+RMD160 (solvespace/v2.1.rc1.tar.gz) = 4fb817cba16db664a3b9ed336e58e56384ca7404
+SHA512 (solvespace/v2.1.rc1.tar.gz) = ac89cc634c2d463cca3e0afa652b11646776f9e95a79a0b470c1553a7a16a44ee4ac979813ce408654be70d9a9e3ff8f0fc1db325237977c0fe3d1c9130fb056
+Size (solvespace/v2.1.rc1.tar.gz) = 2049653 bytes
+SHA1 (patch-src_platform_unixutil.cpp) = d45197e0e55f9f9dd8de85f862e63f283968a7c8
diff --git a/solvespace-git/patches/patch-src_platform_unixutil.cpp b/solvespace-git/patches/patch-src_platform_unixutil.cpp
new file mode 100644
index 0000000..e583787
--- /dev/null
+++ b/solvespace-git/patches/patch-src_platform_unixutil.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add missing semicolon
+
+--- src/platform/unixutil.cpp.orig	2017-01-24 20:55:17.000000000 +0000
++++ src/platform/unixutil.cpp
+@@ -122,7 +122,7 @@ static const std::string &FindLocalResou
+ #if defined(__linux__)
+     selfPath = "/proc/self/exe";
+ #elif defined(__NetBSD__)
+-    selfPath = "/proc/curproc/exe"
++    selfPath = "/proc/curproc/exe";
+ #elif defined(__OpenBSD__) || defined(__FreeBSD__)
+     selfPath = "/proc/curproc/file";
+ #elif defined(__APPLE__)


Home | Main Index | Thread Index | Old Index