Package Details: opencamlib-git 2018.08.25.gf31b0a6-1

Git Clone URL: https://aur.archlinux.org/opencamlib-git.git (read-only)
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: 1
Popularity: 0.000025
First Submitted: 2016-07-02 00:40
Last Updated: 2018-10-28 00:20

Latest Comments

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} )