Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package request: solvespace, template file included, needs fixing
@ 2023-09-03 23:20 michalszmidt
  2023-10-14 11:43 ` [ISSUE] [CLOSED] " michalszmidt
  0 siblings, 1 reply; 2+ messages in thread
From: michalszmidt @ 2023-09-03 23:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3309 bytes --]

New issue by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/issues/45898

Description:
### Package name

solvespace

### Package homepage

https://solvespace.com/

### Description

**My 3 cents:**
It's just easier to get started comparing to advanced CADs, really good for quick 3d printing.

**From their website:**
SOLVESPACE is a free (GPLv3) parametric 3d CAD tool. Applications include:
- modeling 3d parts — draw with extrudes, revolves, helixes and Boolean (union / difference / intersection) 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_

**Current work**
Uses cmake as build system if compiled from release (doesn't contain .git directory in tree) needs patch, that  sets GIT_COMMIT_HASH to one from commit and comments out some other script, see below). I tried to xbps-src to handle that but without success, please help.

patch was done using regular `diff` not `git diff`.

It's my first contribution here, forgive mistakes.

```ini
pkgname=solvespace
version=3.1
revision=1
archs="x86_64*"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=ON"
makedepends="base-devel git zlib-devel libpng-devel cairo-devel freetype-devel json-c-devel fontconfig-devel gtkmm-devel pangomm-devel libspnav-devel MesaLib-devel glu-devel libgomp-devel eigen mimalloc-devel"
depends="zlib libpng cairo freetype json-c fontconfig gtkmm pangomm libspnav glu libgomp eigen mimalloc"
short_desc="Free parametric 3d CAD tool. CLI and GUI"
maintainer="Orphan <orphan@voidlinux.org>"
license="GPL-3.0"
homepage="https://solvespace.com"
distfiles="https://github.com/solvespace/solvespace/releases/download/v${version}/solvespace-${version}.tar.xz"
checksum=34a273ce642d0c77b8f101463730ed4eade7d90cfabfe486f3e7cbf494ff132a
```
patch
```diff
--- a/CMakeLists.txt	2023-09-03 21:54:08.706827662 +0000
+++ b/CMakeLists.txt	2023-09-03 22:02:20.616113196 +0000
@@ -34,9 +34,9 @@
 # NOTE TO PACKAGERS: The embedded git commit hash is critical for rapid bug triage when the builds
 # can come from a variety of sources. If you are mirroring the sources or otherwise build when
 # the .git directory is not present, please comment the following line:
-include(GetGitCommitHash)
+# include(GetGitCommitHash)
 # and instead uncomment the following, adding the complete git hash of the checkout you are using:
-# set(GIT_COMMIT_HASH 0000000000000000000000000000000000000000)
+set(GIT_COMMIT_HASH 70bde63cb32a7f049fa56cbdf924e2695fcb2916)
 
 string(SUBSTRING "${GIT_COMMIT_HASH}" 0 8 solvespace_GIT_HASH)
 project(solvespace
```

### Does the requested package meet the package requirements?

Compiled

### Is the requested package released?

Yes

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] Package request: solvespace, template file included, needs fixing
  2023-09-03 23:20 [ISSUE] Package request: solvespace, template file included, needs fixing michalszmidt
@ 2023-10-14 11:43 ` michalszmidt
  0 siblings, 0 replies; 2+ messages in thread
From: michalszmidt @ 2023-10-14 11:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3312 bytes --]

Closed issue by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/issues/45898

Description:
### Package name

solvespace

### Package homepage

https://solvespace.com/

### Description

**My 3 cents:**
It's just easier to get started comparing to advanced CADs, really good for quick 3d printing.

**From their website:**
SOLVESPACE is a free (GPLv3) parametric 3d CAD tool. Applications include:
- modeling 3d parts — draw with extrudes, revolves, helixes and Boolean (union / difference / intersection) 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_

**Current work**
Uses cmake as build system if compiled from release (doesn't contain .git directory in tree) needs patch, that  sets GIT_COMMIT_HASH to one from commit and comments out some other script, see below). I tried to xbps-src to handle that but without success, please help.

patch was done using regular `diff` not `git diff`.

It's my first contribution here, forgive mistakes.

```ini
pkgname=solvespace
version=3.1
revision=1
archs="x86_64*"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=ON"
makedepends="base-devel git zlib-devel libpng-devel cairo-devel freetype-devel json-c-devel fontconfig-devel gtkmm-devel pangomm-devel libspnav-devel MesaLib-devel glu-devel libgomp-devel eigen mimalloc-devel"
depends="zlib libpng cairo freetype json-c fontconfig gtkmm pangomm libspnav glu libgomp eigen mimalloc"
short_desc="Free parametric 3d CAD tool. CLI and GUI"
maintainer="Orphan <orphan@voidlinux.org>"
license="GPL-3.0"
homepage="https://solvespace.com"
distfiles="https://github.com/solvespace/solvespace/releases/download/v${version}/solvespace-${version}.tar.xz"
checksum=34a273ce642d0c77b8f101463730ed4eade7d90cfabfe486f3e7cbf494ff132a
```
patch
```diff
--- a/CMakeLists.txt	2023-09-03 21:54:08.706827662 +0000
+++ b/CMakeLists.txt	2023-09-03 22:02:20.616113196 +0000
@@ -34,9 +34,9 @@
 # NOTE TO PACKAGERS: The embedded git commit hash is critical for rapid bug triage when the builds
 # can come from a variety of sources. If you are mirroring the sources or otherwise build when
 # the .git directory is not present, please comment the following line:
-include(GetGitCommitHash)
+# include(GetGitCommitHash)
 # and instead uncomment the following, adding the complete git hash of the checkout you are using:
-# set(GIT_COMMIT_HASH 0000000000000000000000000000000000000000)
+set(GIT_COMMIT_HASH 70bde63cb32a7f049fa56cbdf924e2695fcb2916)
 
 string(SUBSTRING "${GIT_COMMIT_HASH}" 0 8 solvespace_GIT_HASH)
 project(solvespace
```

### Does the requested package meet the package requirements?

Compiled

### Is the requested package released?

Yes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-14 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-03 23:20 [ISSUE] Package request: solvespace, template file included, needs fixing michalszmidt
2023-10-14 11:43 ` [ISSUE] [CLOSED] " michalszmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).