diff --git a/build_unix_dev_conda.sh b/build_unix_dev_conda.sh deleted file mode 100755 index 01be6d7046..0000000000 --- a/build_unix_dev_conda.sh +++ /dev/null @@ -1,91 +0,0 @@ -##!/usr/bin/env bash -# -# MacOS Build Script for FreeCAD using Conda. -# This is intended for developer use. -# -# Copyright (c) 2020 by Jeffrey Zampieron. All rights reserved. -# -# License: LGPLv2.1 -# -# References: -# - Conda: https://conda.io/projects/conda/en/latest/user-guide/install/index.html -# - Conda Build: https://docs.conda.io/projects/conda-build/en/latest/install-conda-build.html - -########################################################################### -# Script wide setup. -########################################################################### -# The Conda environment name -FCENV=freecad_dev -# The cmake build directory -HOST=$(uname) - -########################################################################### -# Env Checks -########################################################################### -if [[ ${HOST} =~ "Linux" ]]; then - # Linux specific checks here - echo "Linux specific checks..." -elif [[ ${HOST} =~ "Darwin" ]]; then - # OSX specific checks here. - echo "OS X specific checks..." - which xcrun - if [ $? != 0 ]; then - echo "xcrun not found... install XCode command line tools..." - echo "using: xcode-select --install" - exit 1 - fi -else - echo "unknown host env... probably won't work. Aborting build." - exit 1 -fi - -########################################################################### -# Conda Setup -########################################################################### -which conda -if [ $? != 0 ]; then - echo "Failed to find conda executable. Please install." - exit 1 -fi - -if [[ "${CONDA_DEFAULT_ENV}" =~ "${FCENV}" ]]; then - echo "Already in env" -elif [[ -z "${CONDA_DEFAULT_ENV}" ]]; then - echo "Not in conda env... activating" - eval "$(conda shell.bash hook)" - conda activate ${FCENV} -else - # Assume we are in some other env. - echo "In ${CONDA_DEFAULT_ENV}, attempting switch to ${FCENV}" - eval "$(conda shell.bash hook)" - conda deactivate - conda activate ${FCENV} -fi - -if [ $? != 0 ]; then - echo "Failed to activate conda env: ${FCENV} ... creating" - - if [[ ${HOST} =~ "Linux" ]]; then - echo "Linux" - conda env create -f environment-linux.yml - elif [[ ${HOST} =~ "Darwin" ]]; then - echo "OS X" - conda env create -f environment-osx.yml - else - echo "Unknown Host: ${HOST}" - exit 1 - fi - - conda activate ${FCENV} - if [ $? != 0 ]; then - echo "Failed to create conda environment and activate it." - exit 1 - fi -fi - -if [ -z "${CONDA_PREFIX}" ]; then - echo "Failed to find CONDA_PREFIX variable." - exit 1 -fi - -PREFIX="${CONDA_PREFIX}" ./conda/build.sh diff --git a/conda/bld.bat b/conda/bld.bat deleted file mode 100644 index 11967adf35..0000000000 --- a/conda/bld.bat +++ /dev/null @@ -1,53 +0,0 @@ -mkdir build -cd build - -if "%FEATURE_DEBUG%"=="1" ( - set BUILD_TYPE="Debug" - echo "#! building debug package !#") else ( - set BUILD_TYPE="Release") - - -set "CFLAGS= " -set "CXXFLAGS= " -set "LDFLAGS_SHARED= ucrt.lib" - -cmake -G "Ninja" ^ - -D BUID_WITH_CONDA:BOOL=ON ^ - -D CMAKE_BUILD_TYPE=%BUILD_TYPE% ^ - -D FREECAD_LIBPACK_USE:BOOL=OFF ^ - -D CMAKE_INSTALL_PREFIX:FILEPATH=%LIBRARY_PREFIX% ^ - -D CMAKE_PREFIX_PATH:FILEPATH=%LIBRARY_PREFIX% ^ - -D CMAKE_INCLUDE_PATH:FILEPATH=%LIBRARY_PREFIX%/include ^ - -D CMAKE_LIBRARY_PATH:FILEPATH=%LIBRARY_PREFIX%/lib ^ - -D CMAKE_INSTALL_LIBDIR:FILEPATH=%LIBRARY_PREFIX%/lib ^ - -D BUILD_QT5:BOOL=ON ^ - -D NETGENDATA:FILEPATH=%LIBRARY_PREFIX%/include/netgen ^ - -D NGLIB_INCLUDE_DIR:FILEPATH=%LIBRARY_PREFIX%/include/netgen ^ - -D BUILD_FEM_NETGEN:BOOL=ON ^ - -D OCC_INCLUDE_DIR:FILEPATH=%LIBRARY_PREFIX%/include/opencascade ^ - -D OCC_LIBRARY_DIR:FILEPATH=%LIBRARY_PREFIX%/lib ^ - -D OCC_LIBRARIES:FILEPATH=%LIBRARY_PREFIX%/lib ^ - -D FREECAD_USE_OCC_VARIANT="Official Version" ^ - -D OCC_OCAF_LIBRARIES:FILEPATH=%LIBRARY_PREFIX%/lib ^ - -D BUILD_REVERSEENGINEERING:BOOL=ON ^ - -D USE_BOOST_PYTHON:BOOL=OFF ^ - -D FREECAD_USE_PYBIND11:BOOL=ON ^ - -D SMESH_INCLUDE_DIR:FILEPATH=%LIBRARY_PREFIX%/include/smesh ^ - -D FREECAD_USE_EXTERNAL_SMESH:BOOL=ON ^ - -D BUILD_FLAT_MESH:BOOL=ON ^ - -D OCCT_CMAKE_FALLBACK:BOOL=ON ^ - -D PYTHON_EXECUTABLE:FILEPATH=%PREFIX%/python ^ - -D BUILD_DYNAMIC_LINK_PYTHON:BOOL=ON ^ - -D Boost_NO_BOOST_CMAKE:BOOL=ON ^ - -D FREECAD_USE_PCH:BOOL=OFF ^ - -D FREECAD_USE_PCL:BOOL=ON ^ - -D INSTALL_TO_SITEPACKAGES:BOOL=ON ^ - .. - -if errorlevel 1 exit 1 -ninja install -if errorlevel 1 exit 1 - -rmdir /s /q "%LIBRARY_PREFIX%\doc" -ren %LIBRARY_PREFIX%\bin\FreeCAD.exe freecad.exe -ren %LIBRARY_PREFIX%\bin\FreeCADCmd.exe freecadcmd.exe diff --git a/conda/build.sh b/conda/build.sh deleted file mode 100755 index f8e271f76d..0000000000 --- a/conda/build.sh +++ /dev/null @@ -1,84 +0,0 @@ - -HOST=$(uname) - -mkdir -p build -cd build - -if [[ ${FEATURE_DEBUG} = 1 ]]; then - BUILD_TYPE="Debug" -else - BUILD_TYPE="Release" -fi - -declare -a CMAKE_PLATFORM_FLAGS - -if [[ ${HOST} =~ "Linux" ]]; then - echo "adding hacks for linux" - # temporary workaround for vtk-cmake setup - # should be applied @vtk-feedstock - sed -i 's#/home/conda/feedstock_root/build_artifacts/vtk_.*_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib.*;##g' ${PREFIX}/lib/cmake/vtk-8.2/Modules/vtkhdf5.cmake - # temporary workaround for qt-cmake: - sed -i 's|_qt5gui_find_extra_libs(EGL.*)|_qt5gui_find_extra_libs(EGL "EGL" "" "")|g' $PREFIX/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake - sed -i 's|_qt5gui_find_extra_libs(OPENGL.*)|_qt5gui_find_extra_libs(OPENGL "GL" "" "")|g' $PREFIX/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake - CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake") -fi - - -if [[ ${HOST} =~ "Darwin" ]]; then - # add hacks for osx here! - echo "adding hacks for osx" - #ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk - - # install space-mouse - if [ ! -d "/Library/Frameworks/3DconnexionClient.framework" ]; then - echo "Installing 3D connexion spacemouse drivers." - curl -o /tmp/3dFW.dmg -L 'https://download.3dconnexion.com/drivers/mac/10-6-6_360DF97D-ED08-4ccf-A55E-0BF905E58476/3DxWareMac_v10-6-6_r3234.dmg' - hdiutil attach -readonly /tmp/3dFW.dmg - sudo installer -package /Volumes/3Dconnexion\ Software/Install\ 3Dconnexion\ software.pkg -target / - diskutil eject /Volumes/3Dconnexion\ Software - fi - CMAKE_PLATFORM_FLAGS+=(-DFREECAD_USE_3DCONNEXION:BOOL=ON) - CMAKE_PLATFORM_FLAGS+=(-D3DCONNEXIONCLIENT_FRAMEWORK:FILEPATH="/Library/Frameworks/3DconnexionClient.framework") -fi - -cmake \ - -G "Ninja" \ - -D BUID_WITH_CONDA:BOOL=ON \ - -D CMAKE_BUILD_TYPE=${BUILD_TYPE} \ - -D CMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX \ - -D CMAKE_PREFIX_PATH:FILEPATH=$PREFIX \ - -D CMAKE_LIBRARY_PATH:FILEPATH=$PREFIX/lib \ - -D CMAKE_INSTALL_LIBDIR:FILEPATH=$PREFIX/lib \ - -D CMAKE_INCLUDE_PATH:FILEPATH=$PREFIX/include \ - -D BUILD_QT5:BOOL=ON \ - -D FREECAD_USE_OCC_VARIANT="Official Version" \ - -D OCC_INCLUDE_DIR:FILEPATH=$PREFIX/include \ - -D USE_BOOST_PYTHON:BOOL=OFF \ - -D FREECAD_USE_PYBIND11:BOOL=ON \ - -D BUILD_ENABLE_CXX11:BOOL=ON \ - -D SMESH_INCLUDE_DIR:FILEPATH=$PREFIX/include/smesh \ - -D FREECAD_USE_EXTERNAL_SMESH=ON \ - -D BUILD_FLAT_MESH:BOOL=ON \ - -D BUILD_WITH_CONDA:BOOL=ON \ - -D PYTHON_EXECUTABLE:FILEPATH=$PREFIX/bin/python \ - -D BUILD_FEM_NETGEN:BOOL=ON \ - -D OCCT_CMAKE_FALLBACK:BOOL=OFF \ - -D FREECAD_USE_QT_DIALOG:BOOL=ON \ - -D BUILD_DYNAMIC_LINK_PYTHON:BOOL=OFF \ - -D Boost_NO_BOOST_CMAKE:BOOL=ON \ - -D FREECAD_USE_PCL:BOOL=ON \ - -D INSTALL_TO_SITEPACKAGES:BOOL=ON \ - ${CMAKE_PLATFORM_FLAGS[@]} \ - .. - -if [ $? != 0 ]; then - echo "CMake failed to configure." - exit 1 -fi - -echo "FREECAD_USE_3DCONNEXION=${FREECAD_USE_3DCONNEXION}" - -ninja install -rm -r ${PREFIX}/share/doc/FreeCAD # smaller size of package! -mv ${PREFIX}/bin/FreeCAD ${PREFIX}/bin/freecad -mv ${PREFIX}/bin/FreeCADCmd ${PREFIX}/bin/freecadcmd diff --git a/conda/conda_build_config.yaml b/conda/conda_build_config.yaml deleted file mode 100644 index e8bec02772..0000000000 --- a/conda/conda_build_config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -channel_sources: -- conda-forge,defaults -channel_targets: -- freecad dev -MACOSX_DEPLOYMENT_TARGET: # [osx] -- '10.12' # [osx] \ No newline at end of file diff --git a/conda/cross-linux.cmake b/conda/cross-linux.cmake deleted file mode 100644 index 1693e03275..0000000000 --- a/conda/cross-linux.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# this one is important -set(CMAKE_SYSTEM_NAME Linux) -set(CMAKE_PLATFORM Linux) - -# specify the cross compiler -set(CMAKE_C_COMPILER $ENV{CC}) -set(CMAKE_CXX_COMPILER $ENV{CXX}) - -# where is the target environment -set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) - -# search for programs in the build host directories -set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) -# for libraries and headers in the target directories -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) diff --git a/conda/meta.yaml b/conda/meta.yaml deleted file mode 100644 index ee7356f5c8..0000000000 --- a/conda/meta.yaml +++ /dev/null @@ -1,118 +0,0 @@ -{% set name = "freecad" %} -{% set version = "0.19.pre" %} -{% set build_number = 142 %} -{% set build_number = build_number + 500 %} # [FEATURE_DEBUG] - -package: - name: {{ name }} - version: {{ version }} - -source: - # JZ - For local building this is the setup. - path: ../ - #git_url: https://github.com/FreeCAD/FreeCAD - #git_tag: master - patches: - - windows_python_interface.patch - - -build: - number: {{ build_number }} - skip: true # [py < 38] - -requirements: - build: - - {{ compiler("cxx") }} - - {{ cdt('mesa-libgl-devel') }} # [linux] - - {{ cdt('mesa-dri-drivers') }} # [linux] - - {{ cdt('mesa-libegl-devel') }} # [linux] - - {{ cdt('libselinux') }} # [linux] - - {{ cdt('libxdamage') }} # [linux] - - {{ cdt('libxfixes') }} # [linux] - - {{ cdt('libxxf86vm') }} # [linux] - - {{ cdt('libxcb') }} # [linux] - - {{ cdt('libxext') }} # [linux] - - {{ cdt('xorg-x11-server-xvfb') }} # [linux] - - {{ cdt('libxau') }} # [linux] - - {{ cdt('libxi-devel') }} # [linux] - - cmake - - ninja - - git - host: - - boost-cpp - - python - - qt - - occt - - xerces-c - - zlib - - vtk - - swig - - eigen - - pybind11 - - coin3d - - pivy - - pyside2 - - smesh - - netgen 6.2.1808* - - doxygen - - hdf5 - - xorg-libxt # [linux] - - freetype - - libspnav # [linux] - - pcl - - six - - ply - - tbb-devel - run: - - {{ pin_compatible("pyside2") }} - - vtk - - occt - - qt - - xerces-c - - zlib - - boost-cpp - - hdf5 - - python - - coin3d - - pivy - - smesh - - netgen 6.2.1808* - - xorg-libxt # [linux] - - freetype - - numpy - - six - - pyyaml - - libspnav # [linux] - - pcl - - ply - run_constrained: - - __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx] - -#test: -# commands: -# - FreeCADCmd -t 0 - -about: - home: https://www.freecadweb.org/ - license: LGPL2.1 - license_family: LGPL - license_file: LICENSE - summary: 'FreeCAD is a parametric 3D modeler made primarily to design real-life objects of any size. ' - description: | - FreeCAD is a general purpose feature-based, parametric 3D modeler for - CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering - and product design but also fits a wider range of uses in engineering, - such as architecture or other engineering specialities. It is 100% Open - Source (LGPL2+ license) and extremely modular, allowing for very - advanced extension and customization. - FreeCAD is based on OpenCASCADE, a powerful geometry kernel, features an - Open Inventor-compliant 3D scene representation model provided by the - Coin 3D library, and a broad Python API. The interface is built with Qt. - FreeCAD runs exactly the same way on Windows, Mac OSX, BSD and Linux - platforms. - doc_url: https://www.freecadweb.org/wiki/Main_Page - dev_url: https://github.com/FreeCAD/FreeCAD - -extra: - recipe-maintainers: - - looooo diff --git a/conda/windows_python_interface.patch b/conda/windows_python_interface.patch deleted file mode 100644 index 5749162dbe..0000000000 --- a/conda/windows_python_interface.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/src/Ext/freecad/CMakeLists.txt b/src/Ext/freecad/CMakeLists.txt -index e03b5527e..d9004275b 100644 ---- a/src/Ext/freecad/CMakeLists.txt -+++ b/src/Ext/freecad/CMakeLists.txt -@@ -5,7 +5,9 @@ SET(PYTHON_MAIN_DIR ${python_libs}) - - set(NAMESPACE_INIT "${CMAKE_BINARY_DIR}/Ext/freecad/__init__.py") - if (WIN32) -- set(FREECAD_LIBRARY_INSTALL_DIR ${CMAKE_INSTALL_BINDIR}) -+ get_filename_component(FREECAD_LIBRARY_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" -+ REALPATH BASE_DIR "${CMAKE_INSTALL_PREFIX}") -+ set( ${CMAKE_INSTALL_BINDIR}) - else() - set(FREECAD_LIBRARY_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}) - endif() -diff --git a/src/Ext/freecad/__init__.py.template b/src/Ext/freecad/__init__.py.template -index 68ca151a5..d5360b252 100644 ---- a/src/Ext/freecad/__init__.py.template -+++ b/src/Ext/freecad/__init__.py.template -@@ -12,9 +12,9 @@ except ModuleNotFoundError: - except KeyError: - - # 2. we use the default freecad defined for this package -- _path_to_freecad_libdir = "${CMAKE_INSTALL_LIBDIR}" -+ _path_to_freecad_libdir = "${FREECAD_LIBRARY_INSTALL_DIR}" - print("PATH_TO_FREECAD_LIBDIR not specified, using default \ --FreeCAD version in {}".format( "${FREECAD_LIBRARY_INSTALL_DIR}")) -+FreeCAD version in {}".format("${FREECAD_LIBRARY_INSTALL_DIR}")) - - _sys.path.append(_path_to_freecad_libdir) # this is the default version - import FreeCAD as app diff --git a/conda/yum_requirements.txt b/conda/yum_requirements.txt deleted file mode 100644 index 22fa304d99..0000000000 --- a/conda/yum_requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -mesa-libGL -mesa-dri-drivers -libselinux -libXdamage -libXxf86vm -libXext-devel \ No newline at end of file diff --git a/environment-linux.yml b/environment-linux.yml deleted file mode 100644 index cbf2ff2181..0000000000 --- a/environment-linux.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: freecad_dev -channels: - - conda-forge - - defaults -dependencies: - - cxx-compiler - - cmake - - ninja - - git - - doxygen - - python - - qt - - boost-cpp - - xerces-c - - zlib - - vtk - - swig - - eigen - - occt - - pybind11 - - coin3d - - pivy - - smesh - - netgen=6.2.1808* - - hdf5 - - freetype - - pcl - - six - - ply - - tbb-devel - - pyside2 - - numpy - - six - - pyyaml - - libspnav - - libxcb - - xorg-libxt -# Linux ONLY items - - mesa-libgl-devel # [linux] - - mesa-dri-drivers # [linux] - - mesa-libegl-devel # [linux] - - libselinux # [linux] - - libxdamage # [linux] - - libxfixes # [linux] - - libxxf86vm # [linux] - - libxext # [linux] - - xorg-x11-server-xvfb # [linux] - - libxau # [linux] - - libxi-devel # [linux] diff --git a/environment-osx.yml b/environment-osx.yml deleted file mode 100644 index ff1846f00c..0000000000 --- a/environment-osx.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: freecad_dev -channels: - - conda-forge - - defaults -dependencies: - - cxx-compiler - - cmake - - ninja - - git - - doxygen - - python - - qt - - boost-cpp - - xerces-c - - zlib - - vtk - - swig - - eigen - - occt - - pybind11 - - coin3d - - pivy - - smesh - - netgen=6.2.1808* - - hdf5 - - freetype - - pcl - - six - - ply - - tbb-devel - - pyside2 - - numpy - - six - - pyyaml - - libspnav - - libxcb - - xorg-libxt -# Linux ONLY items - # - mesa-libgl-devel # [linux] - # - mesa-dri-drivers # [linux] - # - mesa-libegl-devel # [linux] - # - libselinux # [linux] - # - libxdamage # [linux] - # - libxfixes # [linux] - # - libxxf86vm # [linux] - # - libxext # [linux] - # - xorg-x11-server-xvfb # [linux] - # - libxau # [linux] - # - libxi-devel # [linux] diff --git a/package/conda/build.sh b/package/conda/build.sh deleted file mode 100644 index 7e5eb862c8..0000000000 --- a/package/conda/build.sh +++ /dev/null @@ -1,31 +0,0 @@ -mkdir -p build -cd build - -cmake -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_INSTALL_PREFIX=$PREFIX \ - -D CMAKE_PREFIX_PATH=$PREFIX \ - -D CMAKE_LIBRARY_PATH=$PREFIX/lib \ - -D BUILD_QT5=ON \ - -D NETGENDATA=$PREFIX/include/netgen \ - -D NETGEN_INCLUDEDIR=$PREFIX/include/netgen \ - -D NGLIB_INCLUDE_DIR=$PREFIX/include/nglib \ - -D OCC_INCLUDE_DIR=$PREFIX/include/opencascade \ - -D OCC_LIBRARY_DIR=$PREFIX/lib \ - -D OCC_LIBRARIES=$PREFIX/lib CACHE PATH \ - -D FREECAD_USE_OCC_VARIANT="Official Version" \ - -D OCC_OCAF_LIBRARIES=$PREFIX/lib CACHE PATH \ - -D SWIG_DIR=$PREFIX/share/swig/3.0.8 \ - -D SWIG_EXECUTABLE=$PREFIX/bin/swig \ - -D PYTHON_EXECUTABLE=$PYTHON \ - -D BUILD_FEM_NETGEN=YES \ - -D USE_BOOST_PYTHON=NO \ - -D FREECAD_USE_PYBIND11=YES \ - -D BUILD_ENABLE_CXX11=ON \ - -D SMESH_INCLUDE_DIR=$PREFIX/include/smesh \ - -D FREECAD_USE_EXTERNAL_SMESH=ON \ - /source - -make -j${CPU_COUNT} 2>&1 | tee output.txt -make -j${CPU_COUNT} install - -rm ${PREFIX}/doc -r # smaller size of package! \ No newline at end of file diff --git a/package/conda/meta.yaml b/package/conda/meta.yaml deleted file mode 100644 index 410d1e045b..0000000000 --- a/package/conda/meta.yaml +++ /dev/null @@ -1,60 +0,0 @@ -package: - name: freecad_daily - version: 0.18 - -build: - number: 0 - -requirements: - build: - - toolchain - - gcc # [unix] - - vc 14 # [win and py>=35] - - ninja - - cmake - - nomkl # [unix] - - swig - - eigen - - boost-cpp 1.66.0 - - boost 1.66.0 # [win] - - pybind11 # [unix] - - python - - matplotlib - - coin3d - - pivy - - qt 5.6.* - - pyside2 5.6.* - - occt 7.2.0 - - smesh - - netgen # [not win32] - - vtk 8.1.* - - hdf5 - - xerces-c 3.2.* - - zlib 1.2.* - - doxygen - - git - - libglu # [linux] - run: - - libgcc # [unix] - - vc 14 # [win and py>=35] - - boost-cpp 1.66.0 - - boost 1.66.0 # [win] - - python - - numpy - - matplotlib - - coin3d - - pivy - - qt 5.6.* - - pyside2 5.6.* - - occt 7.2.0 - - vtk 8.1.* - - smesh - - netgen # [not win32] - - xerces-c 3.2.* - - zlib 1.2* - - git - - calculix # [unix] - - libglu # [linux] -about: - summary: freecad - diff --git a/package/conda/run_docker_build.sh b/package/conda/run_docker_build.sh deleted file mode 100755 index bd54e3dc5e..0000000000 --- a/package/conda/run_docker_build.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env bash - -FEEDSTOCK_ROOT=$(cd "$(dirname "$0")"; pwd;) -SOURCE_DIR=${FEEDSTOCK_ROOT}/../.. -echo ${SOURCE_DIR} - -docker info - -config=$(cat < /dev/null && docker-machine active > /dev/null; then - HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) -fi - -rm -f "$FEEDSTOCK_ROOT/build_artefacts/conda-forge-build-done" - -cat << EOF | docker run -i \ - -v "${SOURCE_DIR}":/source \ - -e HOST_USER_ID="${HOST_USER_ID}" \ - -a stdin -a stdout -a stderr \ - condaforge/linux-anvil \ - bash || exit 1 - -set -x -export PYTHONUNBUFFERED=1 - -echo "$config" > ~/.condarc - -conda clean --lock - -conda install --yes --quiet conda-build - -/usr/bin/sudo -n yum install -y libXt-devel libXmu-devel libXi-devel mesa-libGLU-devel -conda build /source/package/conda -EOF \ No newline at end of file diff --git a/package/makepkg b/package/makepkg deleted file mode 100644 index 66defab726..0000000000 --- a/package/makepkg +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Joaquim Coimbra -# Thanks to Werner Mayer for his support - -pkgname=freecad-svn -pkgver=2152 -pkgrel=2 -pkgdesc="A general purpose 3D CAD modeler, aimed directly at mechanical engineering and product design but also architecture or other engineering specialities" -arch=('x86_64') -url="https://sourceforge.net/apps/mediawiki/free-cad/" -license=('GPL') -groups=() -depends=('xerces-c' 'gts' 'opencascade' 'coin' 'soqt' 'soqt-doc' 'zlib' 'ode' 'qt' 'opencv' 'boost' 'python') -makedepends=('subversion') -provides=('freecad') -conflicts=('freecad') -replaces=() -backup=() -options=('!makeflags') -install= -source=() -noextract=() -md5sums=() - -_svntrunk=https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk -_svnmod=freecad - -build() { -cd "$srcdir" - -if [ -d $_svnmod/.svn ]; then - (cd $_svnmod && svn up -r $pkgver) -else - svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod -fi - -msg "SVN checkout done or server timeout" -msg "Starting make..." - -cd $_svnmod - -# -# BUILD -# -./autogen.sh || return 1 -./configure CXXFLAGS="-D_OCC64" --prefix=/usr/ --with-qt4-dir=/usr/lib/qt/ --with-qt4-bin=/usr/bin/ --with-qt4-include=/usr/include/ --with-qt4-lib=/usr/lib/qt/ --with-xercesc-include=/usr/include/xercesc/ --with-xercesc-lib=/usr/lib/ - -make || return 1 -make DESTDIR="$pkgdir/" install || return 1 -} \ No newline at end of file