Package Details: openscad-git 2019.05.r2660.gab30ab63b-2

Git Clone URL: https://aur.archlinux.org/openscad-git.git (read-only, click to copy)
Package Base: openscad-git
Description: The programmers solid 3D CAD modeller
Upstream URL: https://github.com/openscad/openscad
Licenses: GPL2
Conflicts: openscad
Provides: openscad
Submitter: None
Maintainer: sameer
Last Packager: sameer
Votes: 18
Popularity: 0.000000
First Submitted: 2011-02-25 03:29 (UTC)
Last Updated: 2023-05-23 20:29 (UTC)

Required by (21)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

p60091 commented on 2023-05-22 01:45 (UTC) (edited on 2023-05-22 01:57 (UTC) by p60091)

After applying the following, it builds successfully in clean chroot; the patch adds tbb dependency and submodule pull:

@@ -21,7 +21,8 @@ depends=(
        'qt5-base'
        'qt5-gamepad'
        'qt5-multimedia'
-       'qt5-svg')
+       'qt5-svg'
+       'tbb')
 makedepends=('git' 'boost' 'cmake' 'eigen' 'imagemagick' 'python')
 source=("$_pkg::git+$url"
         'MCAD::git+https://github.com/openscad/MCAD'
@@ -41,6 +42,7 @@ prepare() {
        git config submodule.libraries/MCAD.url "$srcdir/MCAD"
        git -c protocol.file.allow=always submodule update
        sed -i 's/ping files.openscad.org/ping archlinux.org/' resources/CMakeLists.txt
+       git submodule update --init --recursive
 }

 build() {

gyscos commented on 2023-05-08 14:50 (UTC)

Hi, this package does not seem to currently build properly? It looks like it may be missing some (recursive) submodules.

cmsigler commented on 2022-11-12 15:29 (UTC) (edited on 2022-11-12 15:34 (UTC) by cmsigler)

Hi,

In my testing, @wallace11 patch needs this stanza added to it:

@@ -56,8 +56,8 @@

 package() {
   cd "$_gitname/build"
-  make INSTALL_ROOT="$pkgdir"  install
-  cd "$_gitname"
+  make DESTDIR="$pkgdir"  install
+  cd ..
   install -Dm644 "resources/icons/openscad.desktop" "$pkgdir/usr/share/applications/openscad.desktop"
   install -Dm644 "resources/icons/openscad-128.png" "$pkgdir/usr/share/pixmaps/openscad.png"
 }

After adding that it builds successfully in a clean chroot :)

Patch posted at https://pastebin.com/BfbMVN41 -- HTH!

Clemmitt

wallace11 commented on 2022-11-07 00:01 (UTC)

A patch for successfully building in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index 491ac28..98bd84e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,8 @@ url="http://openscad.org/"
 provides=('openscad')
 conflicts=('openscad')
 depends=('qt5-base' 'qscintilla-qt5' 'cgal' 'opencsg' 'boost-libs'
-         'qt5-multimedia' 'libzip' 'qt5-gamepad')
-makedepends=('git' 'boost' 'eigen' 'imagemagick' 'ccache')
+         'qt5-multimedia' 'libzip' 'qt5-gamepad' 'qt5-svg')
+makedepends=('git' 'boost' 'eigen' 'imagemagick' 'ccache' 'cmake' 'python')
 source=('git+https://github.com/openscad/openscad.git'
         'git+https://github.com/openscad/MCAD.git'
         'git+https://github.com/microsoft/mimalloc.git')

dack commented on 2022-09-15 23:44 (UTC)

This is missing a build dependency for cmake. Cmake is not part of base-devel, so build fails in a clean chroot.

traysh commented on 2022-09-01 23:13 (UTC)

I could fix the problem by editing /lib64/cmake/CGAL/CGALConfig.cmake. I think there is a but in this file, and I reported it to CGAL.

traysh commented on 2022-09-01 22:11 (UTC)

hey @cmsigler, Thanks for your answer. I tried to use you patch, but the build fails the same way with it. I also tried installing cgal-git from aur, but it did not help =(

cmsigler commented on 2022-08-30 11:41 (UTC)

@traysh,

Please grab the patch I posted below on 2022-08-04 and patch PKGBUILD, then run makepkg. I just tested building from this patched PKGBUILD and it was successful :) HTH.

Clemmitt

traysh commented on 2022-08-25 23:29 (UTC)

can't build this package:

-- Using header-only CGAL CMake Error at CMakeLists.txt:303 (find_package): Found package configuration file:

/lib64/cmake/CGAL/CGALConfig.cmake

but it set CGAL_FOUND to FALSE so package "CGAL" is considered to be NOT FOUND. -- Configuring incomplete, errors occurred!

any tips?

cmsigler commented on 2022-08-04 13:44 (UTC)

Hi all,

I tweaked my patch to get openscad-git to build successfully. Patch is here:

https://pastebin.com/qET5tPWh

Again, HTH :)

Clemmitt