[NEW] cad/ultimaker/cura - Ultimake Cura + dependencies

2021-02-08 Thread Evandro Rathke
Hi folks!
I hope everyone is going well.

This is the port for Ultimaker Cura. It's an update for the latest stable
version (4.8.0) available.
More info: https://gitlab.com/erathke/cura-port

Best regards,

Evandro Rathke

*Mobile/WhatsApp*: +55 51 9 9921-5584
*Skype*: erathke


cura-port-4.8.0.tar.gz
Description: application/gzip


Re: [NEW] cad/ultimaker/cura - Ultimake Cura + dependencies

2021-02-09 Thread Florian Viehweger
Hi Evandro,

> This is the port for Ultimaker Cura. It's an update for the latest
> stable version (4.8.0) available.
> More info: https://gitlab.com/erathke/cura-port

thank you for working on this.

I cannot get it successfully to compile. I've extracted your archive
into /usr/ports/mystuff.

Building for cura itself works, but when I try to do 'make install' it
builds some dependencies which fails with 'graphics/clipper'.

===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for libnest2d-0.4
===>  Configuring for libnest2d-0.4
-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/ports/pobj/libnest2d-0.4/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/ports/pobj/libnest2d-0.4/bin/c++ - 
skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at 
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 
(message):
  Clipper library cannot be found.  Consider set CLIPPER_PATH environment
  variable (missing: CLIPPER_LIBRARIES)
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:577 
(_FPHSA_FAILURE_MESSAGE)
  cmake_modules/FindClipper.cmake:67 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake_modules/RequirePackage.cmake:252 (find_package)
  include/libnest2d/backends/clipper/CMakeLists.txt:3 (require_package)


-- Configuring incomplete, errors occurred!
See also "/usr/ports/pobj/libnest2d-0.4/build-amd64/CMakeFiles/CMakeOutput.log".
See also "/usr/ports/pobj/libnest2d-0.4/build-amd64/CMakeFiles/CMakeError.log".
*** Error 1 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2893 'do-configure': @cd 
/usr/ports/pobj/libn...)
*** Error 2 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2913 
'/usr/ports/pobj/libnest2d-0.4/build-amd64/.configure_done')
*** Error 2 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2123 
'/usr/ports/packages/amd64/all/libnest2d-0.4.tgz')
*** Error 2 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2121 
'/usr/ports/packages/amd64/all/libnest2d-0.4.tgz')
*** Error 2 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2609 'subpackage': @:; (case 
X${_DEPENDS_CACH...)
*** Error 2 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2141 
'/var/db/pkg/libnest2d-0.4/+CONTENTS': @...)
*** Error 2 in /usr/ports/mystuff/graphics/libnest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2591 'install': @lock=libnest2d-0.4;  
export ...)
*** Error 1 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2273 
'/usr/ports/pobj/py-pynest2d-4.8.0-python3/.dep-graphics-libnest2d')
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2670 
'/usr/ports/pobj/py-pynest2d-4.8.0-python3/.extract_done')
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2123 
'/usr/ports/packages/amd64/all/py3-pynest2d-4.8.0.tgz')
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2121 
'/usr/ports/packages/amd64/all/py3-pynest2d-4.8.0.tgz')
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2609 'subpackage': @:; (case 
X${_DEPEN...)
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2141 
'/var/db/pkg/py3-pynest2d-4.8.0/+CONTENTS')
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/py-pynest2d 
(/usr/ports/infrastructure/mk/bsd.port.mk:2591 'install': 
@lock=py3-pynest2d-4.8...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2273 
'/usr/ports/pobj/Cura-4.8.0-python3/.dep-STEM-ge-4.8.0-cad-ultimaker-py-pynest2d,python3')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2146 
'/var/db/pkg/Cura-4.8.0/+CONTENTS': @cd /usr/ports/mystuff/cad/ultimaker/cur...)
*** Error 2 in /usr/ports/mystuff/cad/ultimaker/cura 
(/usr/ports/infrastructure/mk/bsd.port.mk:2591 'install': @lock=Cura-4.8.0;  
export _LO...)

-

Compiling 'graphics/clipper' on its own works, but running 'make
install' does nothing.

Re: [NEW] cad/ultimaker/cura - Ultimake Cura + dependencies

2021-02-09 Thread Stuart Henderson
On 2021/02/08 10:44, Evandro Rathke wrote:
> Hi folks!
> I hope everyone is going well.
> 
> This is the port for Ultimaker Cura. It's an update for the latest stable
> version (4.8.0) available.
> More info: https://gitlab.com/erathke/cura-port

quick comments;

~20 ports in one go is too many to review, please split off the standalone
ones and handle them first.

FLAVORS=python3 is only for "library" ports with pkgnames like py-XXX,
for things like cad/ultimaker/cura the way to set this is with
MODPY_VERSION=${MODPY_DEFAULT_VERSION_3}

please don't hide FLAVORS=python3 at the bottom of files, put it up
a bit higher near MODULES=lang/python where it's more obvious.

deps on math/py-networkx math/py-triangle x11/py-pyglet don't 
have ${MODPY_FLAVOR}. the math/py-triangle port doesn't even have
a py3 version?

suggest not splitting cad/ultimaker and net/ultimaker, just put the
ultimaker-specific net libs under cad/ultimaker.

consider adding a file cad/ultimaker/Makefile.inc and factor out some
common parts (even just a few things like setting the version of the
various ultimaker ports in a common place since they all seem to be
tied together in updates).