Search Criteria
Package Details: opencamlib-git 2019.07.4.g983a416-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: | |
Conflicts: | |
Provides: | |
Submitter: | ad1217 |
Maintainer: | ad1217 |
Last Packager: | ad1217 |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2016-07-02 00:40 |
Last Updated: | 2020-02-18 06:59 |
Dependencies (5)
- boost (boost-git)
- python (python-dbg)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
- doxygen (doxygen-git) (make)
Latest Comments
Kunda commented on 2020-02-16 13:03
@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
Licence was changed to LGPL
ad1217 commented on 2017-03-03 16:20
Should be fixed, thanks for the note.
maz3max commented on 2017-03-03 02:03
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)")
faultylee commented on 2016-08-03 03:33
I find myself needing this additional patch for CMakesLists.txt otherwise it's picking up Python3.5 Libs and end up with reference problem
@@ -27,7 +27,7 @@
# figure out the gcc version
INCLUDE(gcc_version.cmake)
-find_package (PythonLibs REQUIRED)
+find_package (PythonLibs 2.7 REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS} )