Package Details: opencamlib-git 2023.01.11.4.ge4a5a7d-1

Git Clone URL: https://aur.archlinux.org/opencamlib-git.git (read-only, click to copy)
Package Base: opencamlib-git
Description: Multi-Purpose CNC Toolpath Library
Upstream URL: https://github.com/aewallin/opencamlib
Licenses: LGPL
Conflicts: opencamlib
Provides: opencamlib
Submitter: ad1217
Maintainer: ad1217
Last Packager: ad1217
Votes: 3
Popularity: 0.038076
First Submitted: 2016-07-02 00:40 (UTC)
Last Updated: 2023-02-28 17:31 (UTC)

Latest Comments

1 2 Next › Last »

Elethiomel commented on 2023-05-28 23:08 (UTC)

I can confirm the FreeCAD issue and the fix posted by vami on Arch.

vami commented on 2023-05-03 08:18 (UTC) (edited on 2023-05-03 08:19 (UTC) by vami)

Hello, I'm using Manjaro Linux and I've installed the package in order to use extra Path workbench features in FreeCAD. Unfortunately in the FreeCAD console I got a warning OpenCamLib is not working!, which I've read in the internet why this could be happening. I've resolved the issue by entering in the FreeCAD python console:

import sys
sys.path.append('/usr/opencamlib')

and then activating the Path workbench will succeed with no warning.

I'm not sure if the install section should be modified to install the package into site-packages in order the installation to work properly, but until I find a better solution, this workaround should work for anyone interested.

Hopefully this will help someone else.

ad1217 commented on 2023-02-28 17:32 (UTC)

@BuddyLuvve @Adelie I've fixed this by correctly building from CMakeLists.txt instead of src/CMakeLists.txt, which I apparently changed to in 2017 for unclear reasons.

Adelie commented on 2023-02-27 07:52 (UTC)

@BuddyLuvve Which one? There are quite a few. Is that all one line?

BuddyLuvve commented on 2023-02-27 07:37 (UTC) (edited on 2023-02-27 07:37 (UTC) by BuddyLuvve)

I had to add:

cmake_minimum_required(VERSION 3.25) cmake_policy(SET CMP0069 NEW) set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)

to the CMakeLists.txt file for this to build.

scgtrp commented on 2021-03-09 04:24 (UTC)

git should be in makedepends. Most people have it installed already, which is probably why nobody noticed, but it's not part of base-devel and so makechrootpkg doesn't know to install it in the chroot.

Kunda commented on 2020-02-16 13:03 (UTC) (edited on 2020-02-16 13:04 (UTC) by Kunda)

@ad1217 is it possible for you to build this package with Python3 ?
See https://forum.freecadweb.org/viewtopic.php?f=8&t=31046&p=369333#p369333

Kunda commented on 2018-10-27 00:21 (UTC)

Licence was changed to LGPL

ad1217 commented on 2017-03-03 16:20 (UTC)

Should be fixed, thanks for the note.

maz3max commented on 2017-03-03 02:03 (UTC) (edited on 2017-03-03 02:07 (UTC) by maz3max)

The CMakeLists.txt file in the repository changed a bit. This is my working patch file: --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -28,7 +28,7 @@ # figure out the gcc version INCLUDE(gcc_version.cmake) -find_package (PythonLibs 2 REQUIRED) +find_package (PythonLibs 2.7 REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS} ) # @@ -235,13 +235,13 @@ # execute_process( - COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0,0,\"/usr/local\")" + COMMAND python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0,0,\"/usr/local\")" OUTPUT_VARIABLE Python_site_packages OUTPUT_STRIP_TRAILING_WHITESPACE ) # on Ubuntu 11.10 this outputs: /usr/local/lib/python2.7/dist-packages execute_process( - COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1,standard_lib=0,prefix=\"/usr/local\")" + COMMAND python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1,standard_lib=0,prefix=\"/usr/local\")" OUTPUT_VARIABLE Python_arch_packages OUTPUT_STRIP_TRAILING_WHITESPACE ) @@ -428,25 +428,6 @@ ENDIF(DOXYGEN_FOUND) endif (BUILD_DOC) -include(${CMAKE_SOURCE_DIR}/deb/package_details.cmake) - -# "make spackage" -add_custom_target(spackage - ${CMAKE_COMMAND} - -D SRC_DIR:STRING=${CMAKE_SOURCE_DIR} - -D MY_VERSION:STRING=${MY_VERSION} - -C ${CMAKE_SOURCE_DIR}/deb/package_details.cmake - -P ${CMAKE_CURRENT_SOURCE_DIR}/deb/DebSourcePPA.cmake - ) -#add_custom_target(spackage-oneiric -# ${CMAKE_COMMAND} -# -D SRC_DIR:STRING=${CMAKE_SOURCE_DIR} -# -D MY_VERSION:STRING=${MY_VERSION} -# -D MY_DISTRIBUTION_RELEASES:STRING="oneiric" -# -C ${CMAKE_SOURCE_DIR}/package_details.cmake -# -P ${CMAKE_CURRENT_SOURCE_DIR}/deb/DebSourcePPA.cmake -# ) - message(STATUS "type:") message(STATUS " 'make' for a normal build") message(STATUS " 'make -j8' to build faster (if you have many cpus)")