Package Details: solvespace-git r2194.3e5873e6-1

Git Clone URL: https://aur.archlinux.org/solvespace-git.git (read-only, click to copy)
Package Base: solvespace-git
Description: Parametric 2D/3D CAD
Upstream URL: https://solvespace.com
Keywords: cad design
Licenses: GPL3
Conflicts: solvespace
Provides: solvespace
Submitter: keenerd
Maintainer: awahab
Last Packager: awahab
Votes: 10
Popularity: 0.000000
First Submitted: 2015-08-09 17:08 (UTC)
Last Updated: 2026-04-01 00:46 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

projectgus commented on 2026-01-27 00:04 (UTC)

Thanks for packaging this for AUR!

Is this method of manually overriding the submodule git repos common for PKGBUILDs? It failed for me, because Git's default policy for file path URLs is "user", which doesn't allow them to be used from scripts.

Rather than change the git config I patched PKGBUILD to check out the submodules from their original URLs. Works for now...

diff --git i/PKGBUILD w/PKGBUILD
index f169934..7b2d24f 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -3,7 +3,7 @@

 _pkgname='solvespace'
 pkgname="${_pkgname}-git"
-pkgver=r1792.bb193890
+pkgver=r2178.e74c2eae
 pkgrel=1
 pkgdesc='Parametric 2d/3d CAD'
 arch=('x86_64')
@@ -15,38 +15,12 @@ depends=('gtkmm3' 'libspnav')
 makedepends=('cmake' 'git' 'openmp')
 provides=("${_pkgname}")
 conflicts=("${_pkgname}")
-source=("git+${_url_source}.git"
-        "git+${_url_source%/*}/angle.git"
-        "git+${_url_source%/*}/cairo.git"
-        'git+https://git.savannah.nongnu.org/r/freetype/freetype2.git'
-        "git+${_url_source%/*}/libdxfrw.git"
-        'git+https://github.com/glennrp/libpng.git'
-        'git+https://github.com/microsoft/mimalloc.git'
-        "git+${_url_source%/*}/pixman.git"
-        'git+https://github.com/madler/zlib.git')
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP')
+source=("git+${_url_source}.git")
+sha256sums=('SKIP')

 prepare() {
   cd "${_pkgname}"
-  # Submodule list: https://github.com/solvespace/solvespace/raw/master/.gitmodules
-  git submodule init
-  git config 'submodule.extlib/angle.url' "${srcdir}/angle"
-  git config 'submodule.extlib/cairo.url' "${srcdir}/cairo"
-  git config 'submodule.extlib/freetype.url' "${srcdir}/freetype2"
-  git config 'submodule.extlib/libdxfrw.url' "${srcdir}/libdxfrw"
-  git config 'submodule.extlib/libpng.url' "${srcdir}/libpng"
-  git config 'submodule.extlib/mimalloc.url' "${srcdir}/mimalloc"
-  git config 'submodule.extlib/pixman.url' "${srcdir}/pixman"
-  git config 'submodule.extlib/zlib.url' "${srcdir}/zlib"
-  git submodule update
+  git submodule update --init --recursive
 }

 pkgver() {

11backslashes commented on 2020-07-27 17:48 (UTC)

Please add:

git submodule update --init extlib/mimalloc

to the PKGBUILD, and perhaps follow the doc's recommendation on pkgdesc: https://wiki.archlinux.org/index.php/PKGBUILD#pkgdesc

soenke commented on 2020-07-21 18:38 (UTC) (edited on 2020-07-21 18:44 (UTC) by soenke)

diff --git c/PKGBUILD w/PKGBUILD
index 7ebc54a..75c7edd 100644
--- c/PKGBUILD
+++ w/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Kyle Keen <keenerd@gmail.com>

 pkgname='solvespace-git'
-pkgver=r1304.bc3e09e
+pkgver=r1534.188b2e2
 pkgrel=1
 pkgdesc="SOLVESPACE is a parametric 3d CAD program."
 arch=('i686' 'x86_64')
@@ -26,6 +26,7 @@ prepare() {
   git submodule update --init extlib/libdxfrw
   git submodule update --init extlib/q3d
   git submodule update --init extlib/flatbuffers
+  git submodule update --init extlib/mimalloc
   # uncomment if test fails
   #sed -i 's|request/ttf_text/test.cpp||' request/ttf_text/test.cpp
 }
@@ -36,7 +37,7 @@ build() {
   cd "$pkgname"
   mkdir -p build
   cd build
-  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_CXX_FLAGS="-std=c++11" ../
+  cmake  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_CXX_FLAGS="-std=c++11" ../

sed -i 's/lib64/lib/' src/cmake_install.cmake make }

rvega commented on 2019-05-05 15:31 (UTC) (edited on 2019-05-05 15:31 (UTC) by rvega)

I had to add the following lines to prepare() in the PKGBUILD file.

git submodule update --init extlib/q3d

git submodule update --init extlib/flatbuffers

JJJollyjim commented on 2019-04-18 02:59 (UTC)

The extlib/q3d and extlib/flatbuffers submodules need to both be updated in prepare for this to work now (or out-of-tree versions need to be set up somehow).

ad1217 commented on 2017-11-10 20:23 (UTC)

This package should probably have 'solvespace' in both the 'provide' and 'conflict' arrays.

avh.on1 commented on 2017-02-13 21:24 (UTC)

I'm having the same problem that gerhard had: Cmake wants gtkmm3, but the PKGBUILD installs gtkmm. Once the package has been built, installed, and launched, two windows will open, then solvespace crashes.

gerhard commented on 2017-01-23 10:52 (UTC)

solvespace was looking for a shader file, which no longer existed. This has been corrected. @keenerd: many thanks for starting this package :-)

keenerd commented on 2017-01-09 02:58 (UTC)

Git versions do sometimes break. The onus is on you to figure out if it is an Arch problem or an upstream problem. I'll look into it too.