pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/freecad: make it installable and runnable
Module Name: pkgsrc-wip
Committed By: Rumko <rumko%NetBSD.org@localhost>
Pushed By: rumko
Date: Sat Aug 13 12:56:33 2016 +0200
Changeset: 3ff262919787e5c8cc8133edf8cb0239a644812e
Modified Files:
freecad/Makefile
freecad/PLIST
freecad/distinfo
Added Files:
freecad/TODO
freecad/patches/patch-CMakeLists.txt
freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__MemoryLimit.cpp
freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__Mesh.cpp
freecad/patches/patch-src_App_Application.cpp
freecad/patches/patch-src_App_CMakeLists.txt
freecad/patches/patch-src_App_FreeCADInit.py
freecad/patches/patch-src_Main_CMakeLists.txt
freecad/patches/patch-src_Main_MainCmd.cpp
freecad/patches/patch-src_Main_MainGui.cpp
freecad/patches/patch-src_Main_MainPy.cpp
freecad/patches/patch-src_Mod_Arch_CMakeLists.txt
freecad/patches/patch-src_Mod_Assembly_CMakeLists.txt
freecad/patches/patch-src_Mod_Cam_CMakeLists.txt
freecad/patches/patch-src_Mod_Complete_CMakeLists.txt
freecad/patches/patch-src_Mod_Draft_CMakeLists.txt
freecad/patches/patch-src_Mod_Drawing_CMakeLists.txt
freecad/patches/patch-src_Mod_Fem_CMakeLists.txt
freecad/patches/patch-src_Mod_Idf_CMakeLists.txt
freecad/patches/patch-src_Mod_Image_CMakeLists.txt
freecad/patches/patch-src_Mod_Import_CMakeLists.txt
freecad/patches/patch-src_Mod_Inspection_CMakeLists.txt
freecad/patches/patch-src_Mod_Material_CMakeLists.txt
freecad/patches/patch-src_Mod_MeshPart_CMakeLists.txt
freecad/patches/patch-src_Mod_Mesh_CMakeLists.txt
freecad/patches/patch-src_Mod_OpenSCAD_CMakeLists.txt
freecad/patches/patch-src_Mod_PartDesign_CMakeLists.txt
freecad/patches/patch-src_Mod_Part_CMakeLists.txt
freecad/patches/patch-src_Mod_Path_CMakeLists.txt
freecad/patches/patch-src_Mod_Plot_CMakeLists.txt
freecad/patches/patch-src_Mod_Points_CMakeLists.txt
freecad/patches/patch-src_Mod_Raytracing_CMakeLists.txt
freecad/patches/patch-src_Mod_ReverseEngineering_CMakeLists.txt
freecad/patches/patch-src_Mod_Robot_CMakeLists.txt
freecad/patches/patch-src_Mod_Sandbox_CMakeLists.txt
freecad/patches/patch-src_Mod_Ship_CMakeLists.txt
freecad/patches/patch-src_Mod_Sketcher_CMakeLists.txt
freecad/patches/patch-src_Mod_Spreadsheet_CMakeLists.txt
freecad/patches/patch-src_Mod_Start_CMakeLists.txt
freecad/patches/patch-src_Mod_Start_StartPage_CMakeLists.txt
freecad/patches/patch-src_Mod_TemplatePyMod_CMakeLists.txt
freecad/patches/patch-src_Mod_Test_CMakeLists.txt
freecad/patches/patch-src_Mod_Test_Gui_CMakeLists.txt
freecad/patches/patch-src_Mod_Web_CMakeLists.txt
Log Message:
wip/freecad: make it installable and runnable
Force all non-lib and executables into PREFIX/freecad/
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3ff262919787e5c8cc8133edf8cb0239a644812e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
freecad/Makefile | 63 +-
freecad/PLIST | 730 +++++++++++++++++++++
freecad/TODO | 1 +
freecad/distinfo | 51 +-
freecad/patches/patch-CMakeLists.txt | 31 +
...arty_salomesmesh_src_SMDS_SMDS__MemoryLimit.cpp | 22 +
...rc_3rdParty_salomesmesh_src_SMDS_SMDS__Mesh.cpp | 22 +
freecad/patches/patch-src_App_Application.cpp | 50 ++
freecad/patches/patch-src_App_CMakeLists.txt | 15 +
freecad/patches/patch-src_App_FreeCADInit.py | 21 +
freecad/patches/patch-src_Main_CMakeLists.txt | 55 ++
freecad/patches/patch-src_Main_MainCmd.cpp | 18 +
freecad/patches/patch-src_Main_MainGui.cpp | 18 +
freecad/patches/patch-src_Main_MainPy.cpp | 37 ++
freecad/patches/patch-src_Mod_Arch_CMakeLists.txt | 13 +
.../patches/patch-src_Mod_Assembly_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Cam_CMakeLists.txt | 11 +
.../patches/patch-src_Mod_Complete_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Draft_CMakeLists.txt | 13 +
.../patches/patch-src_Mod_Drawing_CMakeLists.txt | 13 +
freecad/patches/patch-src_Mod_Fem_CMakeLists.txt | 20 +
freecad/patches/patch-src_Mod_Idf_CMakeLists.txt | 25 +
freecad/patches/patch-src_Mod_Image_CMakeLists.txt | 11 +
.../patches/patch-src_Mod_Import_CMakeLists.txt | 11 +
.../patch-src_Mod_Inspection_CMakeLists.txt | 11 +
.../patches/patch-src_Mod_Material_CMakeLists.txt | 13 +
.../patches/patch-src_Mod_MeshPart_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Mesh_CMakeLists.txt | 11 +
.../patches/patch-src_Mod_OpenSCAD_CMakeLists.txt | 21 +
.../patch-src_Mod_PartDesign_CMakeLists.txt | 38 ++
freecad/patches/patch-src_Mod_Part_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Path_CMakeLists.txt | 20 +
freecad/patches/patch-src_Mod_Plot_CMakeLists.txt | 56 ++
.../patches/patch-src_Mod_Points_CMakeLists.txt | 11 +
.../patch-src_Mod_Raytracing_CMakeLists.txt | 13 +
...patch-src_Mod_ReverseEngineering_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Robot_CMakeLists.txt | 13 +
.../patches/patch-src_Mod_Sandbox_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Ship_CMakeLists.txt | 98 +++
.../patches/patch-src_Mod_Sketcher_CMakeLists.txt | 20 +
.../patch-src_Mod_Spreadsheet_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Start_CMakeLists.txt | 11 +
.../patch-src_Mod_Start_StartPage_CMakeLists.txt | 12 +
.../patch-src_Mod_TemplatePyMod_CMakeLists.txt | 11 +
freecad/patches/patch-src_Mod_Test_CMakeLists.txt | 13 +
.../patches/patch-src_Mod_Test_Gui_CMakeLists.txt | 13 +
freecad/patches/patch-src_Mod_Web_CMakeLists.txt | 11 +
47 files changed, 1707 insertions(+), 17 deletions(-)
diffs:
diff --git a/freecad/Makefile b/freecad/Makefile
index 1c1f0a1..0fc88f3 100644
--- a/freecad/Makefile
+++ b/freecad/Makefile
@@ -1,27 +1,64 @@
# $NetBSD$
+#
-DISTNAME= FreeCAD-0.16
-PKGNAME= ${DISTNAME:tl}
+DISTNAME= freecad-0.16
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GITHUB:=FreeCAD/}
+GITHUB_PROJECT= FreeCAD
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.freecadweb.org
-COMMENT= General purpose feature-based, parametric 3D modeler
+MAINTAINER= rumko%NetBSD.org@localhost
+HOMEPAGE= http://www.freecadweb.org/
+COMMENT= General purpose parametric 3D CAD modeler
LICENSE= gnu-lgpl-v2
-WRKSRC= ${WRKDIR}/FreeCAD-0.16
-USE_CMAKE= yes
-USE_TOOLS+= pkg-config bash
-USE_LANGUAGES= c c++ fortran
+WRKSRC= ${WRKDIR}/FreeCAD-${PKGVERSION_NOREV}
-PKGCONFIG_OVERRIDE+= src/Mod/Robot/App/kdl_cp/kdl.pc.in
+#USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+USE_TOOLS+= perl
-# Fix this
+CXXFLAGS.FreeBSD+= -fPIC
+LDFLAGS.FreeBSD+= -fPIC
+
+CMAKE_ARGS+= -DCMAKE_INSTALL_HOMEDIR:PATH=${PREFIX:Q}/freecad
+CMAKE_ARGS+= -DCMAKE_CXX_FLAGS=${CXXFLAGS:Q}
+CMAKE_ARGS+= -DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS:Q}
+
+CMAKE_ARGS+= -DFREECAD_USE_EXTERNAL_KDL=ON
+
+
+REPLACE_PYTHON+= src/Tools/wiki2qhelp.py src/Tools/PythonToCPP.py src/Tools/githubstats.py src/Tools/updatefromcrowdin.py src/Tools/updatecrowdin.py src/Tools/updateppa.py
+REPLACE_PYTHON+= src/Tools/generateBase/generateModel_Module.py src/Tools/generateBase/generateDS.py
+REPLACE_PYTHON+= src/Mod/Test/testmakeWireString.py src/Mod/Test/testPathArray.py src/Mod/Test/testPathArraySel.py src/Mod/Test/unittestgui.py
+REPLACE_PYTHON+= src/Mod/Robot/MovieTool.py src/Mod/OpenSCAD/prototype.py
+
+# TODO - src/Mod/Draft/importDWG.py: teigha = "/usr/bin/TeighaFileConverter"
+
+# Arch module deps
+#.include "../../wip/py-pivy/buildlink3.mk"
+
+# Fem module deps
+#.include "../../wip/calculix/buildlink3.mk"
+
+# Plot module deps
+#.include "../../graphics/py-matplotlib/buildlink3.mk"
+
+.include "../../lang/python/application.mk"
+.include "../../wip/orocos-kdl/buildlink3.mk"
+.include "../../wip/oce/buildlink3.mk"
+.include "../../wip/py-pyside/buildlink3.mk"
.include "../../wip/py-pyside-shiboken/buildlink3.mk"
-.include "../../graphics/Coin/buildlink3.mk"
+.include "../../wip/py-pyside-tools/buildlink3.mk"
+.include "../../devel/py-boost/buildlink3.mk"
+.include "../../wip/soqt/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt4-tools= full
+.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../graphics/Coin/buildlink3.mk"
.include "../../math/eigen3/buildlink3.mk"
-.include "../../wip/oce/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/freecad/PLIST b/freecad/PLIST
index 48d96a5..5d874cb 100644
--- a/freecad/PLIST
+++ b/freecad/PLIST
@@ -1 +1,731 @@
@comment $NetBSD$
+bin/FreeCAD
+bin/FreeCADCmd
+freecad/Mod/Arch/Arch.py
+freecad/Mod/Arch/ArchAxis.py
+freecad/Mod/Arch/ArchBuilding.py
+freecad/Mod/Arch/ArchCommands.py
+freecad/Mod/Arch/ArchComponent.py
+freecad/Mod/Arch/ArchCutPlane.py
+freecad/Mod/Arch/ArchEquipment.py
+freecad/Mod/Arch/ArchFloor.py
+freecad/Mod/Arch/ArchFrame.py
+freecad/Mod/Arch/ArchMaterial.py
+freecad/Mod/Arch/ArchPanel.py
+freecad/Mod/Arch/ArchProfile.py
+freecad/Mod/Arch/ArchRebar.py
+freecad/Mod/Arch/ArchRoof.py
+freecad/Mod/Arch/ArchSchedule.py
+freecad/Mod/Arch/ArchSectionPlane.py
+freecad/Mod/Arch/ArchServer.py
+freecad/Mod/Arch/ArchSite.py
+freecad/Mod/Arch/ArchSpace.py
+freecad/Mod/Arch/ArchStairs.py
+freecad/Mod/Arch/ArchStructure.py
+freecad/Mod/Arch/ArchVRM.py
+freecad/Mod/Arch/ArchWall.py
+freecad/Mod/Arch/ArchWindow.py
+freecad/Mod/Arch/Arch_rc.py
+freecad/Mod/Arch/Init.py
+freecad/Mod/Arch/InitGui.py
+freecad/Mod/Arch/TestArch.py
+freecad/Mod/Arch/importDAE.py
+freecad/Mod/Arch/importIFC.py
+freecad/Mod/Arch/importIFClegacy.py
+freecad/Mod/Arch/importOBJ.py
+freecad/Mod/Arch/importWebGL.py
+freecad/Mod/Complete/Init.py
+freecad/Mod/Complete/InitGui.py
+freecad/Mod/Draft/Draft.py
+freecad/Mod/Draft/DraftGeomUtils.py
+freecad/Mod/Draft/DraftGui.py
+freecad/Mod/Draft/DraftSnap.py
+freecad/Mod/Draft/DraftTools.py
+freecad/Mod/Draft/DraftTrackers.py
+freecad/Mod/Draft/DraftVecUtils.py
+freecad/Mod/Draft/Draft_rc.py
+freecad/Mod/Draft/Init.py
+freecad/Mod/Draft/InitGui.py
+freecad/Mod/Draft/TestDraft.py
+freecad/Mod/Draft/WorkingPlane.py
+freecad/Mod/Draft/importAirfoilDAT.py
+freecad/Mod/Draft/importDWG.py
+freecad/Mod/Draft/importDXF.py
+freecad/Mod/Draft/importOCA.py
+freecad/Mod/Draft/importSVG.py
+freecad/Mod/Drawing/DrawingAlgos.py
+freecad/Mod/Drawing/DrawingExample.py
+freecad/Mod/Drawing/DrawingPatterns.py
+freecad/Mod/Drawing/DrawingTests.py
+freecad/Mod/Drawing/Init.py
+freecad/Mod/Drawing/InitGui.py
+freecad/Mod/Fem/FemAnalysis.py
+freecad/Mod/Fem/FemBeamSection.py
+freecad/Mod/Fem/FemCommands.py
+freecad/Mod/Fem/FemShellThickness.py
+freecad/Mod/Fem/FemSolverCalculix.py
+freecad/Mod/Fem/FemTools.py
+freecad/Mod/Fem/Init.py
+freecad/Mod/Fem/InitGui.py
+freecad/Mod/Fem/MechanicalMaterial.py
+freecad/Mod/Fem/SelectionObserverFem.py
+freecad/Mod/Fem/TaskPanelFemBeamSection.ui
+freecad/Mod/Fem/TaskPanelFemShellThickness.ui
+freecad/Mod/Fem/TaskPanelFemSolverCalculix.ui
+freecad/Mod/Fem/TaskPanelMechanicalMaterial.ui
+freecad/Mod/Fem/TaskPanelShowDisplacement.ui
+freecad/Mod/Fem/TestFem.py
+freecad/Mod/Fem/_CommandFemBeamSection.py
+freecad/Mod/Fem/_CommandFemFromShape.py
+freecad/Mod/Fem/_CommandFemShellThickness.py
+freecad/Mod/Fem/_CommandFemSolverCalculix.py
+freecad/Mod/Fem/_CommandMechanicalMaterial.py
+freecad/Mod/Fem/_CommandMechanicalShowResult.py
+freecad/Mod/Fem/_CommandNewMechanicalAnalysis.py
+freecad/Mod/Fem/_CommandPurgeFemResults.py
+freecad/Mod/Fem/_CommandQuickAnalysis.py
+freecad/Mod/Fem/_CommandSolverJobControl.py
+freecad/Mod/Fem/_FemAnalysis.py
+freecad/Mod/Fem/_FemBeamSection.py
+freecad/Mod/Fem/_FemShellThickness.py
+freecad/Mod/Fem/_FemSolverCalculix.py
+freecad/Mod/Fem/_MechanicalMaterial.py
+freecad/Mod/Fem/_TaskPanelFemBeamSection.py
+freecad/Mod/Fem/_TaskPanelFemShellThickness.py
+freecad/Mod/Fem/_TaskPanelFemSolverCalculix.py
+freecad/Mod/Fem/_TaskPanelMechanicalMaterial.py
+freecad/Mod/Fem/_TaskPanelResultControl.py
+freecad/Mod/Fem/_ViewProviderFemAnalysis.py
+freecad/Mod/Fem/_ViewProviderFemBeamSection.py
+freecad/Mod/Fem/_ViewProviderFemShellThickness.py
+freecad/Mod/Fem/_ViewProviderFemSolverCalculix.py
+freecad/Mod/Fem/_ViewProviderMechanicalMaterial.py
+freecad/Mod/Fem/ccxDatReader.py
+freecad/Mod/Fem/ccxFrdReader.py
+freecad/Mod/Fem/ccxInpWriter.py
+freecad/Mod/Fem/convert2TetGen.py
+freecad/Mod/Fem/test_files/ccx/cube.fcstd
+freecad/Mod/Fem/test_files/ccx/cube_frequency.dat
+freecad/Mod/Fem/test_files/ccx/cube_frequency.frd
+freecad/Mod/Fem/test_files/ccx/cube_frequency.inp
+freecad/Mod/Fem/test_files/ccx/cube_frequency_expected_values
+freecad/Mod/Fem/test_files/ccx/cube_static.dat
+freecad/Mod/Fem/test_files/ccx/cube_static.frd
+freecad/Mod/Fem/test_files/ccx/cube_static.inp
+freecad/Mod/Fem/test_files/ccx/cube_static_expected_values
+freecad/Mod/Fem/test_files/ccx/mesh_points.csv
+freecad/Mod/Fem/test_files/ccx/mesh_volumes.csv
+freecad/Mod/Idf/Idf.py
+freecad/Mod/Idf/Idflibs/0603_SMD.stp
+freecad/Mod/Idf/Idflibs/0805_SMD.stp
+freecad/Mod/Idf/Idflibs/1206_SMD.stp
+freecad/Mod/Idf/Idflibs/1210_SMD.stp
+freecad/Mod/Idf/Idflibs/1812_SMD.stp
+freecad/Mod/Idf/Idflibs/2225_SMD.stp
+freecad/Mod/Idf/Idflibs/2512_SMD.stp
+freecad/Mod/Idf/Idflibs/CAP_50SGV_8_10.stp
+freecad/Mod/Idf/Idflibs/EPL22_6_16.stp
+freecad/Mod/Idf/Idflibs/I22_2_5_16.stp
+freecad/Mod/Idf/Idflibs/I22_2_5_16withEPL22_6_16.stp
+freecad/Mod/Idf/Idflibs/License.txt
+freecad/Mod/Idf/Idflibs/MSOP_10.stp
+freecad/Mod/Idf/Idflibs/RLF_12545.igs
+freecad/Mod/Idf/Idflibs/RLF_12545.stp
+freecad/Mod/Idf/Idflibs/RLF_7030.stp
+freecad/Mod/Idf/Idflibs/SMB_DO_214AA.stp
+freecad/Mod/Idf/Idflibs/SMC_DO_214AB.stp
+freecad/Mod/Idf/Idflibs/SOD_323.igs
+freecad/Mod/Idf/Idflibs/SOD_323.stp
+freecad/Mod/Idf/Idflibs/SOD_523.stp
+freecad/Mod/Idf/Idflibs/SOT23.igs
+freecad/Mod/Idf/Idflibs/SOT23.stp
+freecad/Mod/Idf/Idflibs/SOT404.igs
+freecad/Mod/Idf/Idflibs/SOT404.stp
+freecad/Mod/Idf/Idflibs/SOT428_DPAK.stp
+freecad/Mod/Idf/Idflibs/SOT_323_3.stp
+freecad/Mod/Idf/Idflibs/SOT_96.stp
+freecad/Mod/Idf/Idflibs/TCMT1107_4.stp
+freecad/Mod/Idf/Idflibs/TSM_103_01_L_DV_A.stp
+freecad/Mod/Idf/Idflibs/TSM_104_01_L_DV_A.stp
+freecad/Mod/Idf/Idflibs/TSS0P_8.stp
+freecad/Mod/Idf/Idflibs/VC0603_SMD.stp
+freecad/Mod/Idf/Idflibs/footprints_models.csv
+freecad/Mod/Idf/Init.py
+freecad/Mod/Image/Init.py
+freecad/Mod/Image/InitGui.py
+freecad/Mod/Import/Init.py
+freecad/Mod/Import/InitGui.py
+freecad/Mod/Inspection/Init.py
+freecad/Mod/Inspection/InitGui.py
+freecad/Mod/Material/Init.py
+freecad/Mod/Material/InitGui.py
+freecad/Mod/Material/Material.py
+freecad/Mod/Material/MaterialEditor.py
+freecad/Mod/Material/Material_rc.py
+freecad/Mod/Material/importFCMat.py
+freecad/Mod/Material/materials-editor.ui
+freecad/Mod/Mesh/BuildRegularGeoms.py
+freecad/Mod/Mesh/Init.py
+freecad/Mod/Mesh/InitGui.py
+freecad/Mod/Mesh/MeshTestsApp.py
+freecad/Mod/MeshPart/Init.py
+freecad/Mod/MeshPart/InitGui.py
+freecad/Mod/OpenSCAD/Init.py
+freecad/Mod/OpenSCAD/InitGui.py
+freecad/Mod/OpenSCAD/OpenSCAD2Dgeom.py
+freecad/Mod/OpenSCAD/OpenSCADCommands.py
+freecad/Mod/OpenSCAD/OpenSCADFeatures.py
+freecad/Mod/OpenSCAD/OpenSCADUtils.py
+freecad/Mod/OpenSCAD/OpenSCAD_rc.py
+freecad/Mod/OpenSCAD/colorcodeshapes.py
+freecad/Mod/OpenSCAD/expandplacements.py
+freecad/Mod/OpenSCAD/exportCSG.py
+freecad/Mod/OpenSCAD/importCSG.py
+freecad/Mod/OpenSCAD/ply/README
+freecad/Mod/OpenSCAD/ply/__init__.py
+freecad/Mod/OpenSCAD/ply/lex.py
+freecad/Mod/OpenSCAD/ply/yacc.py
+freecad/Mod/OpenSCAD/replaceobj.py
+freecad/Mod/OpenSCAD/tokrules.py
+freecad/Mod/Part/Init.py
+freecad/Mod/Part/InitGui.py
+freecad/Mod/Part/JoinFeatures.py
+freecad/Mod/Part/MakeBottle.py
+freecad/Mod/Part/TestPartApp.py
+freecad/Mod/Part/TestPartGui.py
+freecad/Mod/PartDesign/Init.py
+freecad/Mod/PartDesign/InitGui.py
+freecad/Mod/PartDesign/InvoluteGearFeature.py
+freecad/Mod/PartDesign/InvoluteGearFeature.ui
+freecad/Mod/PartDesign/Scripts/DistanceBolt.py
+freecad/Mod/PartDesign/Scripts/Epitrochoid.py
+freecad/Mod/PartDesign/Scripts/FilletArc.py
+freecad/Mod/PartDesign/Scripts/Gear.py
+freecad/Mod/PartDesign/Scripts/Parallelepiped.py
+freecad/Mod/PartDesign/Scripts/RadialCopy.py
+freecad/Mod/PartDesign/Scripts/Spring.py
+freecad/Mod/PartDesign/Scripts/__init__.py
+freecad/Mod/PartDesign/TestPartDesignApp.py
+freecad/Mod/PartDesign/TestPartDesignGui.py
+freecad/Mod/PartDesign/WizardShaft/SegmentFunction.py
+freecad/Mod/PartDesign/WizardShaft/Shaft.py
+freecad/Mod/PartDesign/WizardShaft/ShaftDiagram.py
+freecad/Mod/PartDesign/WizardShaft/ShaftFeature.py
+freecad/Mod/PartDesign/WizardShaft/WizardShaft.py
+freecad/Mod/PartDesign/WizardShaft/WizardShaft.svg
+freecad/Mod/PartDesign/WizardShaft/WizardShaftTable.py
+freecad/Mod/PartDesign/WizardShaft/__init__.py
+freecad/Mod/PartDesign/__init__.py
+freecad/Mod/PartDesign/fcgear/__init__.py
+freecad/Mod/PartDesign/fcgear/fcgear.py
+freecad/Mod/PartDesign/fcgear/fcgeardialog.py
+freecad/Mod/PartDesign/fcgear/involute.py
+freecad/Mod/PartDesign/fcgear/svggear.py
+freecad/Mod/Path/Init.py
+freecad/Mod/Path/InitGui.py
+freecad/Mod/Path/PathScripts/DlgSettingsPath.ui
+freecad/Mod/Path/PathScripts/PathArray.py
+freecad/Mod/Path/PathScripts/PathComment.py
+freecad/Mod/Path/PathScripts/PathCompoundExtended.py
+freecad/Mod/Path/PathScripts/PathCopy.py
+freecad/Mod/Path/PathScripts/PathCustom.py
+freecad/Mod/Path/PathScripts/PathDressup.py
+freecad/Mod/Path/PathScripts/PathDrilling.py
+freecad/Mod/Path/PathScripts/PathFacePocket.py
+freecad/Mod/Path/PathScripts/PathFaceProfile.py
+freecad/Mod/Path/PathScripts/PathFixture.py
+freecad/Mod/Path/PathScripts/PathFromShape.py
+freecad/Mod/Path/PathScripts/PathHop.py
+freecad/Mod/Path/PathScripts/PathInspect.py
+freecad/Mod/Path/PathScripts/PathKurve.py
+freecad/Mod/Path/PathScripts/PathKurveUtils.py
+freecad/Mod/Path/PathScripts/PathLoadTool.py
+freecad/Mod/Path/PathScripts/PathMachine.py
+freecad/Mod/Path/PathScripts/PathPlane.py
+freecad/Mod/Path/PathScripts/PathPocket.py
+freecad/Mod/Path/PathScripts/PathPost.py
+freecad/Mod/Path/PathScripts/PathProfile.py
+freecad/Mod/Path/PathScripts/PathProject.py
+freecad/Mod/Path/PathScripts/PathSelection.py
+freecad/Mod/Path/PathScripts/PathSimpleCopy.py
+freecad/Mod/Path/PathScripts/PathStock.py
+freecad/Mod/Path/PathScripts/PathStop.py
+freecad/Mod/Path/PathScripts/PathToolLenOffset.py
+freecad/Mod/Path/PathScripts/PathToolTableEdit.py
+freecad/Mod/Path/PathScripts/PathUtils.py
+freecad/Mod/Path/PathScripts/PostUtils.py
+freecad/Mod/Path/PathScripts/TooltableEditor.py
+freecad/Mod/Path/PathScripts/__init__.py
+freecad/Mod/Path/PathScripts/centroid_post.py
+freecad/Mod/Path/PathScripts/comparams_post.py
+freecad/Mod/Path/PathScripts/dumper_post.py
+freecad/Mod/Path/PathScripts/example_post.py
+freecad/Mod/Path/PathScripts/example_pre.py
+freecad/Mod/Path/PathScripts/linuxcnc_post.py
+freecad/Mod/Path/PathScripts/opensbp_pre.py
+freecad/Mod/Path/PathScripts/rml_post.py
+freecad/Mod/Path/PathScripts/slic3r_pre.py
+freecad/Mod/Plot/InitGui.py
+freecad/Mod/Plot/Plot.py
+freecad/Mod/Plot/PlotGui.py
+freecad/Mod/Plot/Plot_rc.py
+freecad/Mod/Plot/plotAxes/TaskPanel.py
+freecad/Mod/Plot/plotAxes/TaskPanel.ui
+freecad/Mod/Plot/plotAxes/__init__.py
+freecad/Mod/Plot/plotLabels/TaskPanel.py
+freecad/Mod/Plot/plotLabels/TaskPanel.ui
+freecad/Mod/Plot/plotLabels/__init__.py
+freecad/Mod/Plot/plotPositions/TaskPanel.py
+freecad/Mod/Plot/plotPositions/TaskPanel.ui
+freecad/Mod/Plot/plotPositions/__init__.py
+freecad/Mod/Plot/plotSave/TaskPanel.py
+freecad/Mod/Plot/plotSave/TaskPanel.ui
+freecad/Mod/Plot/plotSave/__init__.py
+freecad/Mod/Plot/plotSeries/TaskPanel.py
+freecad/Mod/Plot/plotSeries/TaskPanel.ui
+freecad/Mod/Plot/plotSeries/__init__.py
+freecad/Mod/Plot/plotUtils/Paths.py
+freecad/Mod/Plot/plotUtils/__init__.py
+freecad/Mod/Points/Init.py
+freecad/Mod/Points/InitGui.py
+freecad/Mod/Raytracing/Init.py
+freecad/Mod/Raytracing/InitGui.py
+freecad/Mod/Raytracing/RaytracingExample.py
+freecad/Mod/ReverseEngineering/Init.py
+freecad/Mod/ReverseEngineering/InitGui.py
+freecad/Mod/Robot/Init.py
+freecad/Mod/Robot/InitGui.py
+freecad/Mod/Robot/KukaExporter.py
+freecad/Mod/Robot/MovieTool.py
+freecad/Mod/Robot/RobotExample.py
+freecad/Mod/Robot/RobotExampleTrajectoryOutOfShapes.py
+freecad/Mod/Ship/InitGui.py
+freecad/Mod/Ship/Instance.py
+freecad/Mod/Ship/ShipGui.py
+freecad/Mod/Ship/Ship_rc.py
+freecad/Mod/Ship/TankInstance.py
+freecad/Mod/Ship/WeightInstance.py
+freecad/Mod/Ship/resources/examples/s60.fcstd
+freecad/Mod/Ship/resources/examples/s60_katamaran.fcstd
+freecad/Mod/Ship/resources/examples/wigley.fcstd
+freecad/Mod/Ship/resources/examples/wigley_katamaran.fcstd
+freecad/Mod/Ship/shipAreasCurve/PlotAux.py
+freecad/Mod/Ship/shipAreasCurve/Preview.py
+freecad/Mod/Ship/shipAreasCurve/TaskPanel.py
+freecad/Mod/Ship/shipAreasCurve/TaskPanel.ui
+freecad/Mod/Ship/shipAreasCurve/__init__.py
+freecad/Mod/Ship/shipCapacityCurve/PlotAux.py
+freecad/Mod/Ship/shipCapacityCurve/TaskPanel.py
+freecad/Mod/Ship/shipCapacityCurve/TaskPanel.ui
+freecad/Mod/Ship/shipCapacityCurve/Tools.py
+freecad/Mod/Ship/shipCapacityCurve/__init__.py
+freecad/Mod/Ship/shipCreateLoadCondition/Tools.py
+freecad/Mod/Ship/shipCreateLoadCondition/__init__.py
+freecad/Mod/Ship/shipCreateShip/Preview.py
+freecad/Mod/Ship/shipCreateShip/TaskPanel.py
+freecad/Mod/Ship/shipCreateShip/TaskPanel.ui
+freecad/Mod/Ship/shipCreateShip/Tools.py
+freecad/Mod/Ship/shipCreateShip/__init__.py
+freecad/Mod/Ship/shipCreateTank/TaskPanel.py
+freecad/Mod/Ship/shipCreateTank/TaskPanel.ui
+freecad/Mod/Ship/shipCreateTank/Tools.py
+freecad/Mod/Ship/shipCreateTank/__init__.py
+freecad/Mod/Ship/shipCreateWeight/TaskPanel.py
+freecad/Mod/Ship/shipCreateWeight/TaskPanel.ui
+freecad/Mod/Ship/shipCreateWeight/Tools.py
+freecad/Mod/Ship/shipCreateWeight/__init__.py
+freecad/Mod/Ship/shipGZ/PlotAux.py
+freecad/Mod/Ship/shipGZ/TaskPanel.py
+freecad/Mod/Ship/shipGZ/TaskPanel.ui
+freecad/Mod/Ship/shipGZ/Tools.py
+freecad/Mod/Ship/shipGZ/__init__.py
+freecad/Mod/Ship/shipHydrostatics/PlotAux.py
+freecad/Mod/Ship/shipHydrostatics/TaskPanel.py
+freecad/Mod/Ship/shipHydrostatics/TaskPanel.ui
+freecad/Mod/Ship/shipHydrostatics/Tools.py
+freecad/Mod/Ship/shipHydrostatics/__init__.py
+freecad/Mod/Ship/shipLoadExample/TaskPanel.py
+freecad/Mod/Ship/shipLoadExample/TaskPanel.ui
+freecad/Mod/Ship/shipLoadExample/__init__.py
+freecad/Mod/Ship/shipOutlineDraw/Preview.py
+freecad/Mod/Ship/shipOutlineDraw/TaskPanel.py
+freecad/Mod/Ship/shipOutlineDraw/TaskPanel.ui
+freecad/Mod/Ship/shipOutlineDraw/__init__.py
+freecad/Mod/Ship/shipUtils/Locale.py
+freecad/Mod/Ship/shipUtils/Math.py
+freecad/Mod/Ship/shipUtils/Paths.py
+freecad/Mod/Ship/shipUtils/Units.py
+freecad/Mod/Ship/shipUtils/__init__.py
+freecad/Mod/Sketcher/Init.py
+freecad/Mod/Sketcher/InitGui.py
+freecad/Mod/Sketcher/ProfileLib/Hexagon.py
+freecad/Mod/Sketcher/ProfileLib/RegularPolygon.py
+freecad/Mod/Sketcher/ProfileLib/__init__.py
+freecad/Mod/Sketcher/Profiles.py
+freecad/Mod/Sketcher/SketcherExample.py
+freecad/Mod/Sketcher/TestSketcherApp.py
+freecad/Mod/Sketcher/TestSketcherGui.py
+freecad/Mod/Spreadsheet/Init.py
+freecad/Mod/Spreadsheet/InitGui.py
+freecad/Mod/Spreadsheet/TestSpreadsheet.py
+freecad/Mod/Start/Init.py
+freecad/Mod/Start/InitGui.py
+freecad/Mod/Start/StartPage/StartPage.py
+freecad/Mod/Start/StartPage/__init__.py
+freecad/Mod/Test/BaseTests.py
+freecad/Mod/Test/Document.py
+freecad/Mod/Test/Init.py
+freecad/Mod/Test/InitGui.py
+freecad/Mod/Test/Menu.py
+freecad/Mod/Test/TestApp.py
+freecad/Mod/Test/TestGui.py
+freecad/Mod/Test/UnicodeTests.py
+freecad/Mod/Test/UnitTests.py
+freecad/Mod/Test/Workbench.py
+freecad/Mod/Test/qtunittest.py
+freecad/Mod/Test/testmakeWireString.py
+freecad/Mod/Test/unittestgui.py
+freecad/Mod/Web/Init.py
+freecad/Mod/Web/InitGui.py
+freecad/data/Gui/Stylesheets/Dark-blue.qss
+freecad/data/Gui/Stylesheets/Dark-green.qss
+freecad/data/Gui/Stylesheets/Dark-orange.qss
+freecad/data/Gui/Stylesheets/Hmovetoolbar_dark.png
+freecad/data/Gui/Stylesheets/Hmovetoolbar_light.png
+freecad/data/Gui/Stylesheets/Hsepartoolbar_dark.png
+freecad/data/Gui/Stylesheets/Hsepartoolbar_light.png
+freecad/data/Gui/Stylesheets/Light-blue.qss
+freecad/data/Gui/Stylesheets/Light-green.qss
+freecad/data/Gui/Stylesheets/Light-orange.qss
+freecad/data/Gui/Stylesheets/Vmovetoolbar_dark.png
+freecad/data/Gui/Stylesheets/Vmovetoolbar_light.png
+freecad/data/Gui/Stylesheets/Vsepartoolbar_dark.png
+freecad/data/Gui/Stylesheets/Vsepartoolbar_light.png
+freecad/data/Gui/Stylesheets/background_freecad.png
+freecad/data/Gui/Stylesheets/branch_closed_dark.png
+freecad/data/Gui/Stylesheets/branch_closed_darker.png
+freecad/data/Gui/Stylesheets/branch_end.png
+freecad/data/Gui/Stylesheets/branch_more.png
+freecad/data/Gui/Stylesheets/branch_open_dark.png
+freecad/data/Gui/Stylesheets/branch_open_darker.png
+freecad/data/Gui/Stylesheets/branch_vline.png
+freecad/data/Gui/Stylesheets/checkbox_indeterminate_light.png
+freecad/data/Gui/Stylesheets/checkbox_light.png
+freecad/data/Gui/Stylesheets/close_dark.png
+freecad/data/Gui/Stylesheets/close_light.png
+freecad/data/Gui/Stylesheets/down_arrow_dark.png
+freecad/data/Gui/Stylesheets/down_arrow_darker.png
+freecad/data/Gui/Stylesheets/down_arrow_disabled_dark.png
+freecad/data/Gui/Stylesheets/down_arrow_disabled_light.png
+freecad/data/Gui/Stylesheets/down_arrow_light.png
+freecad/data/Gui/Stylesheets/down_arrow_lighter.png
+freecad/data/Gui/Stylesheets/left_arrow_dark.png
+freecad/data/Gui/Stylesheets/left_arrow_darker.png
+freecad/data/Gui/Stylesheets/left_arrow_disabled_dark.png
+freecad/data/Gui/Stylesheets/left_arrow_disabled_light.png
+freecad/data/Gui/Stylesheets/left_arrow_light.png
+freecad/data/Gui/Stylesheets/left_arrow_lighter.png
+freecad/data/Gui/Stylesheets/more_dark.png
+freecad/data/Gui/Stylesheets/more_light.png
+freecad/data/Gui/Stylesheets/radiobutton_light.png
+freecad/data/Gui/Stylesheets/right_arrow_dark.png
+freecad/data/Gui/Stylesheets/right_arrow_darker.png
+freecad/data/Gui/Stylesheets/right_arrow_disabled_dark.png
+freecad/data/Gui/Stylesheets/right_arrow_disabled_light.png
+freecad/data/Gui/Stylesheets/right_arrow_light.png
+freecad/data/Gui/Stylesheets/right_arrow_lighter.png
+freecad/data/Gui/Stylesheets/sizegrip_dark.png
+freecad/data/Gui/Stylesheets/sizegrip_light.png
+freecad/data/Gui/Stylesheets/splitter_horizontal_dark.png
+freecad/data/Gui/Stylesheets/splitter_horizontal_light.png
+freecad/data/Gui/Stylesheets/splitter_vertical_dark.png
+freecad/data/Gui/Stylesheets/splitter_vertical_light.png
+freecad/data/Gui/Stylesheets/transparent.png
+freecad/data/Gui/Stylesheets/undock_dark.png
+freecad/data/Gui/Stylesheets/undock_light.png
+freecad/data/Gui/Stylesheets/up_arrow_dark.png
+freecad/data/Gui/Stylesheets/up_arrow_darker.png
+freecad/data/Gui/Stylesheets/up_arrow_disabled_dark.png
+freecad/data/Gui/Stylesheets/up_arrow_disabled_light.png
+freecad/data/Gui/Stylesheets/up_arrow_light.png
+freecad/data/Gui/Stylesheets/up_arrow_lighter.png
+freecad/data/License.txt
+freecad/data/Mod/Arch/Presets/profiles.csv
+freecad/data/Mod/Arch/Resources/icons/ArchWorkbench.svg
+freecad/data/Mod/Complete/Resources/icons/CompleteWorkbench.svg
+freecad/data/Mod/Draft/Resources/icons/DraftWorkbench.svg
+freecad/data/Mod/Drawing/Resources/icons/DrawingWorkbench.svg
+freecad/data/Mod/Drawing/Templates/A0_Landscape_ISO7200.dxf
+freecad/data/Mod/Drawing/Templates/A0_Landscape_ISO7200.svg
+freecad/data/Mod/Drawing/Templates/A0_Landscape_plain.dxf
+freecad/data/Mod/Drawing/Templates/A0_Landscape_plain.svg
+freecad/data/Mod/Drawing/Templates/A0_Portrait_plain.dxf
+freecad/data/Mod/Drawing/Templates/A0_Portrait_plain.svg
+freecad/data/Mod/Drawing/Templates/A1_Landscape_ISO7200.dxf
+freecad/data/Mod/Drawing/Templates/A1_Landscape_ISO7200.svg
+freecad/data/Mod/Drawing/Templates/A1_Landscape_plain.dxf
+freecad/data/Mod/Drawing/Templates/A1_Landscape_plain.svg
+freecad/data/Mod/Drawing/Templates/A1_Portrait_plain.dxf
+freecad/data/Mod/Drawing/Templates/A1_Portrait_plain.svg
+freecad/data/Mod/Drawing/Templates/A2_Landscape_ISO7200.dxf
+freecad/data/Mod/Drawing/Templates/A2_Landscape_ISO7200.svg
+freecad/data/Mod/Drawing/Templates/A2_Landscape_plain.dxf
+freecad/data/Mod/Drawing/Templates/A2_Landscape_plain.svg
+freecad/data/Mod/Drawing/Templates/A2_Portrait_plain.dxf
+freecad/data/Mod/Drawing/Templates/A2_Portrait_plain.svg
+freecad/data/Mod/Drawing/Templates/A3_Landscape.dxf
+freecad/data/Mod/Drawing/Templates/A3_Landscape.svg
+freecad/data/Mod/Drawing/Templates/A3_Landscape_ISO7200.dxf
+freecad/data/Mod/Drawing/Templates/A3_Landscape_ISO7200.svg
+freecad/data/Mod/Drawing/Templates/A3_Landscape_plain.dxf
+freecad/data/Mod/Drawing/Templates/A3_Landscape_plain.svg
+freecad/data/Mod/Drawing/Templates/A3_Portrait_plain.dxf
+freecad/data/Mod/Drawing/Templates/A3_Portrait_plain.svg
+freecad/data/Mod/Drawing/Templates/A4_Landscape.dxf
+freecad/data/Mod/Drawing/Templates/A4_Landscape.svg
+freecad/data/Mod/Drawing/Templates/A4_Landscape_ISO7200.dxf
+freecad/data/Mod/Drawing/Templates/A4_Landscape_ISO7200.svg
+freecad/data/Mod/Drawing/Templates/A4_Landscape_plain.dxf
+freecad/data/Mod/Drawing/Templates/A4_Landscape_plain.svg
+freecad/data/Mod/Drawing/Templates/A4_Portrait_ISO7200.dxf
+freecad/data/Mod/Drawing/Templates/A4_Portrait_ISO7200.svg
+freecad/data/Mod/Drawing/Templates/A4_Portrait_plain.dxf
+freecad/data/Mod/Drawing/Templates/A4_Portrait_plain.svg
+freecad/data/Mod/Fem/Resources/icons/FemWorkbench.svg
+freecad/data/Mod/Image/Resources/icons/ImageWorkbench.svg
+freecad/data/Mod/Inspection/Resources/icons/InspectionWorkbench.svg
+freecad/data/Mod/Material/StandardMaterial/ABS.FCMat
+freecad/data/Mod/Material/StandardMaterial/AlMg3F24.FCMat
+freecad/data/Mod/Material/StandardMaterial/AlMgSi1F31.FCMat
+freecad/data/Mod/Material/StandardMaterial/AlZn4-5Mg1F35.FCMat
+freecad/data/Mod/Material/StandardMaterial/CalculiX-Steel.FCMat
+freecad/data/Mod/Material/StandardMaterial/Concrete-Generic.FCMat
+freecad/data/Mod/Material/StandardMaterial/Glass-E-GlassFibre.FCMat
+freecad/data/Mod/Material/StandardMaterial/Glass-Generic.FCMat
+freecad/data/Mod/Material/StandardMaterial/Glass-S2-GlassFibre.FCMat
+freecad/data/Mod/Material/StandardMaterial/None.FCMat
+freecad/data/Mod/Material/StandardMaterial/PLA.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-15CrNi6.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-17CrNiMo6.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-1C22.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-1C35.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-1C45.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-1C60.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-20NiCrMo2.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-28Mn6.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-2C10.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-30CrNiMo8.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-34CrNiMo6.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-36CrNiMo4.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-36NiCrMo16.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-3C15.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-3C22.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-3C35.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-3V45.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C10.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C15.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C22E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C25E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C30E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C40E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C50E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C55E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-C60E.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-E295-GC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-E295.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-E335-GC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-E335.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-E360-GC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-E360.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJL-100.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJL-150.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJL-200.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJL-250.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJL-300.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJL-350.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMB-350-10.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMB-550-4.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMB-650-2.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMW-350-4.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMW-360-12.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMW-400-5.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJMW-450-7.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJS-400-15.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJS-500-7.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJS-600-3.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJS-700-2.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-EN-GJS-800-1.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G16Mn5.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G200.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G20Mn5.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G230.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G260.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G300.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-G30Mn5.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-Generic.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S185.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S235JO.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S235JR.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S235JRG1.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S260NC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S275JO.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S275JR.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S275N.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S335JO.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S335JR.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S335N.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S340MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S355J2G3.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S380MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S420MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S420N.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S460MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S460N.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S500MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S550MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-S690MC.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-St-37-2K.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-St-E-255.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-St-E-315.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-St-E-380.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-St-E-460.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-St-E-500.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X2CrNiMoN17-13-3.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X2CrNiN24-4.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X39CrMo17-1.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X3CrNiMo13-14.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X5CrNi18-10.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X5CrNiMo17-12-2.FCMat
+freecad/data/Mod/Material/StandardMaterial/Steel-X6CrNiTi18-10.FCMat
+freecad/data/Mod/Material/StandardMaterial/TEMPLATE.FCMat
+freecad/data/Mod/Material/StandardMaterial/Wood-Generic.FCMat
+freecad/data/Mod/Mesh/Resources/icons/MeshWorkbench.svg
+freecad/data/Mod/OpenSCAD/Resources/icons/OpenSCADWorkbench.svg
+freecad/data/Mod/Part/Resources/icons/PartWorkbench.svg
+freecad/data/Mod/PartDesign/Resources/icons/PartDesignWorkbench.svg
+freecad/data/Mod/Path/Resources/icons/PathWorkbench.svg
+freecad/data/Mod/Plot/resources/icons/PlotWorkbench.svg
+freecad/data/Mod/Points/Resources/icons/PointsWorkbench.svg
+freecad/data/Mod/Raytracing/Resources/icons/RaytracingWorkbench.svg
+freecad/data/Mod/Raytracing/Templates/LuxClassic.lxs
+freecad/data/Mod/Raytracing/Templates/LuxOutdoor.lxs
+freecad/data/Mod/Raytracing/Templates/ProjectStd.pov
+freecad/data/Mod/Raytracing/Templates/RadiosityNormal.pov
+freecad/data/Mod/Raytracing/Templates/RadiosityOutdoorHQ.pov
+freecad/data/Mod/ReverseEngineering/Resources/icons/ReverseEngineeringWorkbench.svg
+freecad/data/Mod/Robot/Lib/Kuka/kr125_3.wrl
+freecad/data/Mod/Robot/Lib/Kuka/kr16.wrl
+freecad/data/Mod/Robot/Lib/Kuka/kr210.WRL
+freecad/data/Mod/Robot/Lib/Kuka/kr500_1.csv
+freecad/data/Mod/Robot/Lib/Kuka/kr500_1.wrl
+freecad/data/Mod/Robot/Lib/Kuka/kr_125.csv
+freecad/data/Mod/Robot/Lib/Kuka/kr_16.csv
+freecad/data/Mod/Robot/Lib/Kuka/kr_210_2.csv
+freecad/data/Mod/Robot/Lib/Kuka/testprog.dat
+freecad/data/Mod/Robot/Lib/Kuka/testprog.src
+freecad/data/Mod/Robot/Resources/icons/RobotWorkbench.svg
+freecad/data/Mod/Ship/resources/icons/ShipWorkbench.svg
+freecad/data/Mod/Sketcher/Resources/icons/SketcherWorkbench.svg
+freecad/data/Mod/Spreadsheet/Resources/icons/SpreadsheetWorkbench.svg
+freecad/data/Mod/Start/Resources/icons/StartWorkbench.svg
+freecad/data/Mod/Start/StartPage/ArchDesign.png
+freecad/data/Mod/Start/StartPage/ArchDesign.py
+freecad/data/Mod/Start/StartPage/ArchExample.png
+freecad/data/Mod/Start/StartPage/Background.jpg
+freecad/data/Mod/Start/StartPage/Complete.png
+freecad/data/Mod/Start/StartPage/DefaultWorkbench.py
+freecad/data/Mod/Start/StartPage/FreeCAD.png
+freecad/data/Mod/Start/StartPage/LoadArchExample.py
+freecad/data/Mod/Start/StartPage/LoadDrawingExample.py
+freecad/data/Mod/Start/StartPage/LoadFemExample.py
+freecad/data/Mod/Start/StartPage/LoadMRU0.py
+freecad/data/Mod/Start/StartPage/LoadMRU1.py
+freecad/data/Mod/Start/StartPage/LoadMRU2.py
+freecad/data/Mod/Start/StartPage/LoadPartDesignExample.py
+freecad/data/Mod/Start/StartPage/LoadRobotExample.py
+freecad/data/Mod/Start/StartPage/LoadSchenkel.py
+freecad/data/Mod/Start/StartPage/Mesh.png
+freecad/data/Mod/Start/StartPage/Mesh.py
+freecad/data/Mod/Start/StartPage/PartDesign.png
+freecad/data/Mod/Start/StartPage/PartDesign.py
+freecad/data/Mod/Start/StartPage/PartDesignExample.png
+freecad/data/Mod/Start/StartPage/Ship.png
+freecad/data/Mod/Start/StartPage/Ship.py
+freecad/data/Mod/Start/StartPage/ShipExample.png
+freecad/data/Mod/Start/StartPage/blank.png
+freecad/data/Mod/Start/StartPage/complete.jpg
+freecad/data/Mod/Start/StartPage/freecad-doc.png
+freecad/data/Mod/Start/StartPage/web.png
+freecad/data/Mod/Test/Resources/icons/TestWorkbench.svg
+freecad/data/Mod/Web/Resources/icons/WebWorkbench.svg
+freecad/data/examples/ArchDetail.FCStd
+freecad/data/examples/DrawingExample.FCStd
+freecad/data/examples/EngineBlock.FCStd
+freecad/data/examples/FemCalculixCantilever3D.FCStd
+freecad/data/examples/PartDesignExample.FCStd
+freecad/data/examples/RobotExample.FCStd
+freecad/data/examples/Schenkel.stp
+freecad/data/freecad-doc.png
+freecad/data/freecad-icon-16.png
+freecad/data/freecad-icon-32.png
+freecad/data/freecad-icon-48.png
+freecad/data/freecad-icon-64.png
+freecad/data/freecad.svg
+freecad/data/freecad.xpm
+freecad/doc/freecad.qch
+freecad/doc/freecad.qhc
+lib/Complete.so
+lib/CompleteGui.so
+lib/DraftUtils.so
+lib/Drawing.so
+lib/DrawingGui.so
+lib/Fem.so
+lib/FemGui.so
+lib/FreeCAD.so
+lib/FreeCADGui.so
+lib/Image.so
+lib/ImageGui.so
+lib/Import.so
+lib/ImportGui.so
+lib/Inspection.so
+lib/InspectionGui.so
+lib/Mesh.so
+lib/MeshGui.so
+lib/MeshPart.so
+lib/MeshPartGui.so
+lib/Part.so
+lib/PartDesignGui.so
+lib/PartGui.so
+lib/Path.so
+lib/PathGui.so
+lib/Points.so
+lib/PointsGui.so
+lib/QtUnitGui.so
+lib/Raytracing.so
+lib/RaytracingGui.so
+lib/ReverseEngineering.so
+lib/ReverseEngineeringGui.so
+lib/Robot.so
+lib/RobotGui.so
+lib/Sketcher.so
+lib/SketcherGui.so
+lib/Spreadsheet.so
+lib/SpreadsheetGui.so
+lib/Start.so
+lib/StartGui.so
+lib/Web.so
+lib/WebGui.so
+lib/_PartDesign.so
+lib/area.so
+lib/libDriver.so
+lib/libDriverDAT.so
+lib/libDriverSTL.so
+lib/libDriverUNV.so
+lib/libFreeCADApp.so
+lib/libFreeCADBase.so
+lib/libFreeCADGui.so
+lib/libMEFISTO2.so
+lib/libSMDS.so
+lib/libSMESH.so
+lib/libSMESHDS.so
+lib/libStdMeshers.so
diff --git a/freecad/TODO b/freecad/TODO
new file mode 100644
index 0000000..5daf5fe
--- /dev/null
+++ b/freecad/TODO
@@ -0,0 +1 @@
+Clean up the patches / redo them.
diff --git a/freecad/distinfo b/freecad/distinfo
index d6e1b0e..7e41fcf 100644
--- a/freecad/distinfo
+++ b/freecad/distinfo
@@ -1,6 +1,49 @@
$NetBSD$
-SHA1 (FreeCAD-0.16.tar.gz) = 5e8956588e87b18c8c4140cbdcaa1229c04907bb
-RMD160 (FreeCAD-0.16.tar.gz) = 47eef6c13df03dfa424a0b9389b9b549a7569c6c
-SHA512 (FreeCAD-0.16.tar.gz) = bc9dc8122cabd9a84f2b955746818e0d77ae90e68747ec96521099472b7803df9ff794ed823d6eb29352bd0538b8f01cf81c306ff427f1af2ee049f8f7096dbb
-Size (FreeCAD-0.16.tar.gz) = 111706127 bytes
+SHA1 (freecad-0.16.tar.gz) = 5e8956588e87b18c8c4140cbdcaa1229c04907bb
+RMD160 (freecad-0.16.tar.gz) = 47eef6c13df03dfa424a0b9389b9b549a7569c6c
+SHA512 (freecad-0.16.tar.gz) = bc9dc8122cabd9a84f2b955746818e0d77ae90e68747ec96521099472b7803df9ff794ed823d6eb29352bd0538b8f01cf81c306ff427f1af2ee049f8f7096dbb
+Size (freecad-0.16.tar.gz) = 111706127 bytes
+SHA1 (patch-CMakeLists.txt) = 7a89a8ea491b8cb234c768a3e8b82878bd1bbf9e
+SHA1 (patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__MemoryLimit.cpp) = 38bed1dd4708a83dd06fea2fbc5547513f7156cd
+SHA1 (patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__Mesh.cpp) = ebef7e0abdd3ada326e607c931a46099ad93cefc
+SHA1 (patch-src_App_Application.cpp) = a7b24fdc5b229892bbc6cf73400b0df901da97c8
+SHA1 (patch-src_App_CMakeLists.txt) = c73a2a69235bf62ae0a1d45101fd021826aed9cf
+SHA1 (patch-src_App_FreeCADInit.py) = bf7051075012c97bcd7fc27649e4c17306cffb80
+SHA1 (patch-src_Main_CMakeLists.txt) = c10d5b97eb8fb840360681c4a5a38b14b8c1c0bb
+SHA1 (patch-src_Main_MainCmd.cpp) = f07f0b87c588523bcadb8e917429704dbb33a596
+SHA1 (patch-src_Main_MainGui.cpp) = 711279ff967d64f9f69d5c294f0fcb62ec64a223
+SHA1 (patch-src_Main_MainPy.cpp) = 0efbc10a9c773717b30c585577440986b5124530
+SHA1 (patch-src_Mod_Arch_CMakeLists.txt) = 35672c3b78f087124869679a8f4af88982f9a44c
+SHA1 (patch-src_Mod_Assembly_CMakeLists.txt) = 8adef0162d47b6a203c24018b296730df7b16b89
+SHA1 (patch-src_Mod_Cam_CMakeLists.txt) = 2e668657c69109e5c6dbe603e8bbd153a170add5
+SHA1 (patch-src_Mod_Complete_CMakeLists.txt) = 779e935209baab0d40e2e72d4a537c6c45e809e7
+SHA1 (patch-src_Mod_Draft_CMakeLists.txt) = f3d6e28fd5c7a9ed392ebae7431e02419e65291a
+SHA1 (patch-src_Mod_Drawing_CMakeLists.txt) = 9cd0ecf3a6a94fd2ab8592cf3561ac6ea2b0f2d3
+SHA1 (patch-src_Mod_Fem_CMakeLists.txt) = 87fc20ccd88f1f7940eaeba16c06e67b9c310497
+SHA1 (patch-src_Mod_Idf_CMakeLists.txt) = df1ba2867bc7174b32cb0699a1013c267db2c916
+SHA1 (patch-src_Mod_Image_CMakeLists.txt) = 07d261f8e49d06910d9c4a8ba881389bd2474367
+SHA1 (patch-src_Mod_Import_CMakeLists.txt) = 92a3c2fff62d9c7cef7be631251add36c859dd0f
+SHA1 (patch-src_Mod_Inspection_CMakeLists.txt) = 9fd6f1027154359b718b08460eacd9bdf5d0faed
+SHA1 (patch-src_Mod_Material_CMakeLists.txt) = 546b1822a8b51c222d1765884ff4a79706ffb78a
+SHA1 (patch-src_Mod_MeshPart_CMakeLists.txt) = 1d8d1efc74126a14a8c23b0d7ecbf688f91db350
+SHA1 (patch-src_Mod_Mesh_CMakeLists.txt) = b580829859fa5080a3e2a09f079c4a9a06c83150
+SHA1 (patch-src_Mod_OpenSCAD_CMakeLists.txt) = d102adee52985bbad50d03e893918f547950f2ac
+SHA1 (patch-src_Mod_PartDesign_CMakeLists.txt) = cf57ed99e9ced866a8cfc9d639b2a3efce7d1787
+SHA1 (patch-src_Mod_Part_CMakeLists.txt) = 1718244d9c24a4243ef4eb95ab4b39ce5bc1d203
+SHA1 (patch-src_Mod_Path_CMakeLists.txt) = 31370c8541fbfab73322e215328e1ea950bd1a28
+SHA1 (patch-src_Mod_Plot_CMakeLists.txt) = 117975dc8634414511f3644dd637f08810506ab8
+SHA1 (patch-src_Mod_Points_CMakeLists.txt) = 027ca66a0a56777040eee596e1f207997578b9ef
+SHA1 (patch-src_Mod_Raytracing_CMakeLists.txt) = 0406a154c6e496e62a6f67ea2bdf87e52c2e2495
+SHA1 (patch-src_Mod_ReverseEngineering_CMakeLists.txt) = 76bc65a734e2899472ff2f0ef8d2a4faa86a0cf4
+SHA1 (patch-src_Mod_Robot_CMakeLists.txt) = 3a580583bb120834d58b07f8066a86465aadfcf4
+SHA1 (patch-src_Mod_Sandbox_CMakeLists.txt) = 037476d460a6a8f0d9548361ea26eea46d9e5b18
+SHA1 (patch-src_Mod_Ship_CMakeLists.txt) = f1b0e2b63debdb68b0bc1ef089cd320b07a6657b
+SHA1 (patch-src_Mod_Sketcher_CMakeLists.txt) = 945f25b63f3daaa0a486f4eff872ecf4e5d325d0
+SHA1 (patch-src_Mod_Spreadsheet_CMakeLists.txt) = d5a60194230277067725b31cd3c81727e9f2f949
+SHA1 (patch-src_Mod_Start_CMakeLists.txt) = da034166f31ceceb63fdebd2cee42111c0386752
+SHA1 (patch-src_Mod_Start_StartPage_CMakeLists.txt) = 8d42a4c7db4b59f52c2fe91259a90177efc79197
+SHA1 (patch-src_Mod_TemplatePyMod_CMakeLists.txt) = 2f8d22a17a23be81c5eea01833b05efa6a49a66f
+SHA1 (patch-src_Mod_Test_CMakeLists.txt) = a9718679984dd74c058c3c1a6b25be098e46504e
+SHA1 (patch-src_Mod_Test_Gui_CMakeLists.txt) = 9c046603d858113608ae8285d88f46fe4cec3216
+SHA1 (patch-src_Mod_Web_CMakeLists.txt) = 705188a797376b127f4df12af93bbfe946ae992c
diff --git a/freecad/patches/patch-CMakeLists.txt b/freecad/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000..d7a990f
--- /dev/null
+++ b/freecad/patches/patch-CMakeLists.txt
@@ -0,0 +1,31 @@
+$NetBSD$
+
+--- CMakeLists.txt.orig 2016-04-07 01:39:34.000000000 +0000
++++ CMakeLists.txt
+@@ -87,9 +87,9 @@ else(WIN32)
+ SET(CMAKE_INSTALL_PREFIX "/usr/lib${LIB_SUFFIX}/freecad" CACHE PATH "Installation root directory")
+ endif(WIN32)
+
+-SET(CMAKE_INSTALL_DATADIR data CACHE PATH "Output directory for data and resource files")
++SET(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_PREFIX}/freecad/data" CACHE PATH "Output directory for data and resource files")
+ SET(CMAKE_INSTALL_INCLUDEDIR include CACHE PATH "Output directory for header files")
+-SET(CMAKE_INSTALL_DOCDIR doc CACHE PATH "Output directory for documentation and license files")
++SET(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_PREFIX}/freecad/doc" CACHE PATH "Output directory for documentation and license files")
+ # Don't set it without manual adaption of LibDir variable in src/App/FreeCADInit.py
+ SET(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries")
+
+@@ -109,12 +109,14 @@ SET(PYCXX_SOURCE_DIR
+ # used as compiler defines
+ SET(RESOURCEDIR "${CMAKE_INSTALL_DATADIR}")
+ SET(DOCDIR "${CMAKE_INSTALL_DOCDIR}")
++SET(HOMEDIR "${CMAKE_INSTALL_HOMEDIR}")
+
+ MESSAGE(STATUS "prefix: ${CMAKE_INSTALL_PREFIX}")
+ MESSAGE(STATUS "datadir: ${CMAKE_INSTALL_DATADIR}")
+ MESSAGE(STATUS "docdir: ${CMAKE_INSTALL_DOCDIR}")
+ MESSAGE(STATUS "includedir: ${CMAKE_INSTALL_INCLUDEDIR}")
+ MESSAGE(STATUS "libdir: ${CMAKE_INSTALL_LIBDIR}")
++MESSAGE(STATUS "homedir: ${CMAKE_INSTALL_HOMEDIR}")
+
+ # ==============================================================================
+ # == Win32 is default behaviour use the LibPack copied in Source tree ==========
diff --git a/freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__MemoryLimit.cpp b/freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__MemoryLimit.cpp
new file mode 100644
index 0000000..42c4744
--- /dev/null
+++ b/freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__MemoryLimit.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- src/3rdParty/salomesmesh/src/SMDS/SMDS_MemoryLimit.cpp.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/3rdParty/salomesmesh/src/SMDS/SMDS_MemoryLimit.cpp
+@@ -28,7 +28,7 @@
+ // to the system. (PAL16631)
+ //
+ #ifndef WIN32
+-#if !(defined(__MACH__) && defined(__APPLE__))
++#if !(defined(__MACH__) && defined(__APPLE__)) && !defined(__FreeBSD__)
+ #include <sys/sysinfo.h>
+ #endif
+ #endif
+@@ -39,7 +39,7 @@
+
+ int main (int argc, char ** argv)
+ {
+-#if (defined(__MACH__) && defined(__APPLE__))
++#if (defined(__MACH__) && defined(__APPLE__)) || defined(__FreeBSD__)
+ //do nothing
+ #else
+ // To better understand what is going on here, consult bug [SALOME platform 0019911]
diff --git a/freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__Mesh.cpp b/freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__Mesh.cpp
new file mode 100644
index 0000000..3dca3a7
--- /dev/null
+++ b/freecad/patches/patch-src_3rdParty_salomesmesh_src_SMDS_SMDS__Mesh.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp
+@@ -43,7 +43,7 @@
+ using namespace std;
+
+ #ifndef WIN32
+-#if !(defined(__MACH__) && defined(__APPLE__))
++#if !(defined(__MACH__) && defined(__APPLE__)) && !defined(__FreeBSD__)
+ #include <sys/sysinfo.h>
+ #endif
+ #endif
+@@ -61,7 +61,7 @@ using namespace std;
+
+ int SMDS_Mesh::CheckMemory(const bool doNotRaise) throw (std::bad_alloc)
+ {
+-#if (defined(__MACH__) && defined(__APPLE__))
++#if (defined(__MACH__) && defined(__APPLE__)) || defined(__FreeBSD__)
+ return 1000;
+ #else
+ #ifndef WIN32
diff --git a/freecad/patches/patch-src_App_Application.cpp b/freecad/patches/patch-src_App_Application.cpp
new file mode 100644
index 0000000..d4b7aa2
--- /dev/null
+++ b/freecad/patches/patch-src_App_Application.cpp
@@ -0,0 +1,50 @@
+$NetBSD$
+
+Do not use the FindHomePath mechanism, initially taken from
+http://forum.freecadweb.org/viewtopic.php?f=4&t=12890&sid=d37a7267d64c17f325d8cb1e503c63d7
+
+--- src/App/Application.cpp.orig 2016-04-07 01:39:34.000000000 +0000
++++ src/App/Application.cpp
+@@ -527,7 +527,7 @@ std::string Application::getUserAppDataD
+ std::string Application::getUserMacroDir()
+ {
+ std::string path("Macro/");
+- return mConfig["UserAppData"] + path;
++ return mConfig["UserAppData"];
+ }
+
+ std::string Application::getResourceDir()
+@@ -1148,7 +1148,13 @@ void Application::initTypes(void)
+ void Application::initConfig(int argc, char ** argv)
+ {
+ // find the home path....
++#if defined(HOMEDIR)
++ std::string path(HOMEDIR);
++ path.append("/");
++ mConfig["AppHomePath"] = path;
++#else
+ mConfig["AppHomePath"] = FindHomePath(argv[0]);
++#endif
+
+ // Version of the application extracted from SubWCRef into src/Build/Version.h
+ // We only set these keys if not yet defined. Therefore it suffices to search
+@@ -2058,6 +2064,11 @@ std::string Application::FindHomePath(co
+ // Python interpreter is already initialized.
+ std::string absPath;
+ std::string homePath;
++#ifdef HOMEDIR
++ std::string path(HOMEDIR);
++ path.append("/");
++ absPath = path;
++#else
+ if (Py_IsInitialized()) {
+ // Note: realpath is known to cause a buffer overflow because it
+ // expands the given path to an absolute path of unknown length.
+@@ -2081,6 +2092,7 @@ std::string Application::FindHomePath(co
+ resolved[nchars] = '\0'; // enfore null termination
+ absPath = resolved;
+ }
++#endif
+
+ // should be an absolute path now
+ std::string::size_type pos = absPath.find_last_of("/");
diff --git a/freecad/patches/patch-src_App_CMakeLists.txt b/freecad/patches/patch-src_App_CMakeLists.txt
new file mode 100644
index 0000000..5fa9fc5
--- /dev/null
+++ b/freecad/patches/patch-src_App_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/App/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/App/CMakeLists.txt
+@@ -12,6 +12,10 @@ IF(DOCDIR)
+ add_definitions(-DDOCDIR="${DOCDIR}")
+ ENDIF(DOCDIR)
+
++IF(HOMEDIR)
++ add_definitions(-DHOMEDIR="${HOMEDIR}")
++ENDIF(HOMEDIR)
++
+ include_directories(
+ ${CMAKE_BINARY_DIR}/src
+ ${CMAKE_SOURCE_DIR}/src
diff --git a/freecad/patches/patch-src_App_FreeCADInit.py b/freecad/patches/patch-src_App_FreeCADInit.py
new file mode 100644
index 0000000..6b13530
--- /dev/null
+++ b/freecad/patches/patch-src_App_FreeCADInit.py
@@ -0,0 +1,21 @@
+$NetBSD$
+
+/lib and /bin are not under the home path
+
+--- src/App/FreeCADInit.py.orig 2016-04-07 01:39:34.000000000 +0000
++++ src/App/FreeCADInit.py
+@@ -43,11 +43,11 @@ def InitApplications():
+ # Checking on FreeCAD module path ++++++++++++++++++++++++++++++++++++++++++
+ ModDir = FreeCAD.getHomePath()+'Mod'
+ ModDir = os.path.realpath(ModDir)
+- BinDir = FreeCAD.getHomePath()+'bin'
++ BinDir = FreeCAD.getHomePath()+'../bin'
+ BinDir = os.path.realpath(BinDir)
+- LibDir = FreeCAD.getHomePath()+'lib'
++ LibDir = FreeCAD.getHomePath()+'../lib'
+ LibDir = os.path.realpath(LibDir)
+- Lib64Dir = FreeCAD.getHomePath()+'lib64'
++ Lib64Dir = FreeCAD.getHomePath()+'../lib64'
+ Lib64Dir = os.path.realpath(Lib64Dir)
+ AddPath = FreeCAD.ConfigGet("AdditionalModulePaths").split(";")
+ HomeMod = FreeCAD.ConfigGet("UserAppData")+"Mod"
diff --git a/freecad/patches/patch-src_Main_CMakeLists.txt b/freecad/patches/patch-src_Main_CMakeLists.txt
new file mode 100644
index 0000000..6486f4e
--- /dev/null
+++ b/freecad/patches/patch-src_Main_CMakeLists.txt
@@ -0,0 +1,55 @@
+$NetBSD$
+
+Fix build on fbsd, link against libcompat
+
+--- src/Main/CMakeLists.txt.orig 2016-04-07 01:39:34.000000000 +0000
++++ src/Main/CMakeLists.txt
+@@ -20,6 +20,10 @@ else(BUILD_GUI)
+ )
+ endif(BUILD_GUI)
+
++IF(HOMEDIR)
++ add_definitions(-DHOMEDIR="${HOMEDIR}")
++ENDIF(HOMEDIR)
++
+ ######################## FreeCADMain ########################
+ if(BUILD_GUI)
+
+@@ -34,6 +38,11 @@ if(BUILD_GUI)
+ FreeCADGui
+ ${QT_QTMAIN_LIBRARY}
+ )
++ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++ SET(FreeCAD_LIBS
++ FreeCADGui
++ -lcompat
++ )
+ else(MSVC)
+ SET(FreeCAD_LIBS
+ FreeCADGui
+@@ -63,11 +72,20 @@ SET(FreeCADMainCmd_SRCS
+ )
+ add_executable(FreeCADMainCmd ${FreeCADMainCmd_SRCS})
+
+-target_link_libraries(FreeCADMainCmd
+- FreeCADApp
+- ${QT_QTCORE_LIBRARY}
+- ${QT_QTXML_LIBRARY}
+-)
++if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++ target_link_libraries(FreeCADMainCmd
++ FreeCADApp
++ -lcompat
++ ${QT_QTCORE_LIBRARY}
++ ${QT_QTXML_LIBRARY}
++ )
++else()
++ target_link_libraries(FreeCADMainCmd
++ FreeCADApp
++ ${QT_QTCORE_LIBRARY}
++ ${QT_QTXML_LIBRARY}
++ )
++endif()
+
+ SET_BIN_DIR(FreeCADMainCmd FreeCADCmd)
+
diff --git a/freecad/patches/patch-src_Main_MainCmd.cpp b/freecad/patches/patch-src_Main_MainCmd.cpp
new file mode 100644
index 0000000..618c45a
--- /dev/null
+++ b/freecad/patches/patch-src_Main_MainCmd.cpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- src/Main/MainCmd.cpp.orig 2016-04-07 01:39:34.000000000 +0000
++++ src/Main/MainCmd.cpp
+@@ -69,6 +69,13 @@ int main( int argc, char ** argv )
+ // Make sure that we use '.' as decimal point
+ setlocale(LC_ALL, "");
+ setlocale(LC_NUMERIC, "C");
++
++#if defined(HOMEDIR)
++ App::Application::Config()["AppHomePath"] = HOMEDIR;
++ argv[0] = (char*)malloc(PATH_MAX);
++ strncpy(argv[0], HOMEDIR, PATH_MAX);
++ argv[0][PATH_MAX-1] = '\0'; // ensure null termination
++#endif
+
+ // Name and Version of the Application
+ App::Application::Config()["ExeName"] = "FreeCAD";
diff --git a/freecad/patches/patch-src_Main_MainGui.cpp b/freecad/patches/patch-src_Main_MainGui.cpp
new file mode 100644
index 0000000..d6f0139
--- /dev/null
+++ b/freecad/patches/patch-src_Main_MainGui.cpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- src/Main/MainGui.cpp.orig 2016-04-07 01:39:34.000000000 +0000
++++ src/Main/MainGui.cpp
+@@ -125,6 +125,13 @@ int main( int argc, char ** argv )
+ argv_.push_back(0); // 0-terminated string
+ }
+ #endif
++
++#if defined(HOMEDIR)
++ App::Application::Config()["AppHomePath"] = HOMEDIR;
++ argv[0] = (char*)malloc(PATH_MAX);
++ strncpy(argv[0], HOMEDIR, PATH_MAX);
++ argv[0][PATH_MAX-1] = '\0'; // ensure null termination
++#endif
+
+ // Name and Version of the Application
+ App::Application::Config()["ExeName"] = "FreeCAD";
diff --git a/freecad/patches/patch-src_Main_MainPy.cpp b/freecad/patches/patch-src_Main_MainPy.cpp
new file mode 100644
index 0000000..5e4e51d
--- /dev/null
+++ b/freecad/patches/patch-src_Main_MainPy.cpp
@@ -0,0 +1,37 @@
+$NetBSD$
+
+--- src/Main/MainPy.cpp.orig 2016-04-07 01:39:34.000000000 +0000
++++ src/Main/MainPy.cpp
+@@ -76,6 +76,9 @@ BOOL APIENTRY DllMain(HANDLE hModule, DW
+ # define GNU_SOURCE
+ # endif
+ # include <dlfcn.h>
++#elif defined(FC_OS_BSD)
++# include <link.h>
++# include <dlfcn.h>
+ #elif defined(FC_OS_CYGWIN)
+ # include <windows.h>
+ #endif
+@@ -100,7 +103,12 @@ extern "C"
+ char** argv;
+ argv = (char**)malloc(sizeof(char*)* (argc+1));
+
+-#if defined(FC_OS_WIN32)
++#if defined(HOMEDIR)
++ App::Application::Config()["AppHomePath"] = HOMEDIR;
++ argv[0] = (char*)malloc(PATH_MAX);
++ strncpy(argv[0], HOMEDIR, PATH_MAX);
++ argv[0][PATH_MAX-1] = '\0'; // ensure null termination
++#elif defined(FC_OS_WIN32)
+ argv[0] = (char*)malloc(MAX_PATH);
+ strncpy(argv[0],App::Application::Config()["AppHomePath"].c_str(),MAX_PATH);
+ argv[0][MAX_PATH-1] = '\0'; // ensure null termination
+@@ -111,7 +119,7 @@ extern "C"
+ argv[0] = (char*)malloc(MAX_PATH);
+ strncpy(argv[0],szFileName,MAX_PATH);
+ argv[0][MAX_PATH-1] = '\0'; // ensure null termination
+-#elif defined(FC_OS_LINUX)
++#elif defined(FC_OS_BSD) || defined(FC_OS_LINUX)
+ putenv("LANG=C");
+ putenv("LC_ALL=C");
+ // get whole path of the library
diff --git a/freecad/patches/patch-src_Mod_Arch_CMakeLists.txt b/freecad/patches/patch-src_Mod_Arch_CMakeLists.txt
new file mode 100644
index 0000000..b9f3094
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Arch_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Arch/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Arch/CMakeLists.txt
+@@ -66,7 +66,7 @@ INSTALL(
+ FILES
+ ${Arch_SRCS}
+ ${Arch_QRC_SRCS}
+- DESTINATION Mod/Arch
++ DESTINATION freecad/Mod/Arch
+ )
+
+ INSTALL(
diff --git a/freecad/patches/patch-src_Mod_Assembly_CMakeLists.txt b/freecad/patches/patch-src_Mod_Assembly_CMakeLists.txt
new file mode 100644
index 0000000..a5c6c76
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Assembly_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Assembly/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Assembly/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Assembly
++ freecad/Mod/Assembly
+ )
diff --git a/freecad/patches/patch-src_Mod_Cam_CMakeLists.txt b/freecad/patches/patch-src_Mod_Cam_CMakeLists.txt
new file mode 100644
index 0000000..df49c0c
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Cam_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Cam/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Cam/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Cam
++ freecad/Mod/Cam
+ )
diff --git a/freecad/patches/patch-src_Mod_Complete_CMakeLists.txt b/freecad/patches/patch-src_Mod_Complete_CMakeLists.txt
new file mode 100644
index 0000000..d2a8aac
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Complete_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Complete/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Complete/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Complete
++ freecad/Mod/Complete
+ )
diff --git a/freecad/patches/patch-src_Mod_Draft_CMakeLists.txt b/freecad/patches/patch-src_Mod_Draft_CMakeLists.txt
new file mode 100644
index 0000000..7c6a5a6
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Draft_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Draft/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Draft/CMakeLists.txt
+@@ -42,7 +42,7 @@ INSTALL(
+ ${Draft_SRCS}
+ ${Draft_QRC_SRCS}
+ DESTINATION
+- Mod/Draft
++ freecad/Mod/Draft
+ )
+
+ SET(DraftGuiIcon_SVG
diff --git a/freecad/patches/patch-src_Mod_Drawing_CMakeLists.txt b/freecad/patches/patch-src_Mod_Drawing_CMakeLists.txt
new file mode 100644
index 0000000..5a4f884
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Drawing_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Drawing/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Drawing/CMakeLists.txt
+@@ -13,7 +13,7 @@ INSTALL(
+ DrawingTests.py
+ DrawingPatterns.py
+ DESTINATION
+- Mod/Drawing
++ freecad/Mod/Drawing
+ )
+
+ INSTALL(
diff --git a/freecad/patches/patch-src_Mod_Fem_CMakeLists.txt b/freecad/patches/patch-src_Mod_Fem_CMakeLists.txt
new file mode 100644
index 0000000..e386ccc
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Fem_CMakeLists.txt
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- src/Mod/Fem/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Fem/CMakeLists.txt
+@@ -68,7 +68,7 @@ INSTALL(
+ _CommandFemSolverCalculix.py
+
+ DESTINATION
+- Mod/Fem
++ freecad/Mod/Fem
+ )
+
+ INSTALL(
+@@ -86,5 +86,5 @@ INSTALL(
+ test_files/ccx/cube_static_expected_values
+ test_files/ccx/cube.fcstd
+ DESTINATION
+- Mod/Fem/test_files/ccx
++ freecad/Mod/Fem/test_files/ccx
+ )
diff --git a/freecad/patches/patch-src_Mod_Idf_CMakeLists.txt b/freecad/patches/patch-src_Mod_Idf_CMakeLists.txt
new file mode 100644
index 0000000..10a6d75
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Idf_CMakeLists.txt
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- src/Mod/Idf/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Idf/CMakeLists.txt
+@@ -56,17 +56,17 @@ INSTALL(
+ FILES
+ ${IdfLibs_SRCS}
+ DESTINATION
+- Mod/Idf/Idflibs
++ freecad/Mod/Idf/Idflibs
+ )
+ INSTALL(
+ FILES
+ ${IdfLang_SRCS}
+ DESTINATION
+- Mod/Idf/Languages
++ freecad/Mod/Idf/Languages
+ )
+ INSTALL(
+ FILES
+ ${Idf_SRCS}
+ DESTINATION
+- Mod/Idf
++ freecad/Mod/Idf
+ )
diff --git a/freecad/patches/patch-src_Mod_Image_CMakeLists.txt b/freecad/patches/patch-src_Mod_Image_CMakeLists.txt
new file mode 100644
index 0000000..149b474
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Image_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Image/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Image/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Image
++ freecad/Mod/Image
+ )
diff --git a/freecad/patches/patch-src_Mod_Import_CMakeLists.txt b/freecad/patches/patch-src_Mod_Import_CMakeLists.txt
new file mode 100644
index 0000000..9786023
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Import_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Import/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Import/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Import
++ freecad/Mod/Import
+ )
diff --git a/freecad/patches/patch-src_Mod_Inspection_CMakeLists.txt b/freecad/patches/patch-src_Mod_Inspection_CMakeLists.txt
new file mode 100644
index 0000000..27f8116
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Inspection_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Inspection/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Inspection/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Inspection
++ freecad/Mod/Inspection
+ )
diff --git a/freecad/patches/patch-src_Mod_Material_CMakeLists.txt b/freecad/patches/patch-src_Mod_Material_CMakeLists.txt
new file mode 100644
index 0000000..1922002
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Material_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Material/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Material/CMakeLists.txt
+@@ -56,7 +56,7 @@ fc_target_copy_resource(MaterialLib
+
+ INSTALL(
+ FILES ${Material_SRCS} ${Material_QRC_SRCS}
+- DESTINATION Mod/Material
++ DESTINATION freecad/Mod/Material
+ )
+
+ INSTALL(
diff --git a/freecad/patches/patch-src_Mod_MeshPart_CMakeLists.txt b/freecad/patches/patch-src_Mod_MeshPart_CMakeLists.txt
new file mode 100644
index 0000000..c060683
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_MeshPart_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/MeshPart/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/MeshPart/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/MeshPart
++ freecad/Mod/MeshPart
+ )
diff --git a/freecad/patches/patch-src_Mod_Mesh_CMakeLists.txt b/freecad/patches/patch-src_Mod_Mesh_CMakeLists.txt
new file mode 100644
index 0000000..b6e4f97
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Mesh_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Mesh/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Mesh/CMakeLists.txt
+@@ -11,5 +11,5 @@ INSTALL(
+ BuildRegularGeoms.py
+ App/MeshTestsApp.py
+ DESTINATION
+- Mod/Mesh
++ freecad/Mod/Mesh
+ )
diff --git a/freecad/patches/patch-src_Mod_OpenSCAD_CMakeLists.txt b/freecad/patches/patch-src_Mod_OpenSCAD_CMakeLists.txt
new file mode 100644
index 0000000..7f7235a
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_OpenSCAD_CMakeLists.txt
@@ -0,0 +1,21 @@
+$NetBSD$
+
+--- src/Mod/OpenSCAD/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/OpenSCAD/CMakeLists.txt
+@@ -45,14 +45,14 @@ INSTALL(
+ FILES
+ ${ply_SRCS}
+ DESTINATION
+- Mod/OpenSCAD/ply
++ freecad/Mod/OpenSCAD/ply
+ )
+ INSTALL(
+ FILES
+ ${OpenSCAD_SRCS}
+ ${OpenSCAD_QRC_SRCS}
+ DESTINATION
+- Mod/OpenSCAD
++ freecad/Mod/OpenSCAD
+ )
+
+ SET(OpenSCADGuiIcon_SVG
diff --git a/freecad/patches/patch-src_Mod_PartDesign_CMakeLists.txt b/freecad/patches/patch-src_Mod_PartDesign_CMakeLists.txt
new file mode 100644
index 0000000..7a75eeb
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_PartDesign_CMakeLists.txt
@@ -0,0 +1,38 @@
+$NetBSD$
+
+--- src/Mod/PartDesign/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/PartDesign/CMakeLists.txt
+@@ -14,7 +14,7 @@ INSTALL(
+ InvoluteGearFeature.py
+ InvoluteGearFeature.ui
+ DESTINATION
+- Mod/PartDesign
++ freecad/Mod/PartDesign
+ )
+
+ INSTALL(
+@@ -28,7 +28,7 @@ INSTALL(
+ Scripts/RadialCopy.py
+ Scripts/Spring.py
+ DESTINATION
+- Mod/PartDesign/Scripts
++ freecad/Mod/PartDesign/Scripts
+ )
+
+ INSTALL(
+@@ -39,7 +39,7 @@ INSTALL(
+ fcgear/involute.py
+ fcgear/svggear.py
+ DESTINATION
+- Mod/PartDesign/fcgear
++ freecad/Mod/PartDesign/fcgear
+
+ )
+
+@@ -69,5 +69,5 @@ INSTALL(
+ FILES
+ ${WizardShaft_SRCS}
+ DESTINATION
+- Mod/PartDesign/WizardShaft
++ freecad/Mod/PartDesign/WizardShaft
+ )
diff --git a/freecad/patches/patch-src_Mod_Part_CMakeLists.txt b/freecad/patches/patch-src_Mod_Part_CMakeLists.txt
new file mode 100644
index 0000000..f251b72
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Part_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Part/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Part/CMakeLists.txt
+@@ -13,5 +13,5 @@ INSTALL(
+ TestPartGui.py
+ JoinFeatures.py
+ DESTINATION
+- Mod/Part
++ freecad/Mod/Part
+ )
diff --git a/freecad/patches/patch-src_Mod_Path_CMakeLists.txt b/freecad/patches/patch-src_Mod_Path_CMakeLists.txt
new file mode 100644
index 0000000..453d734
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Path_CMakeLists.txt
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- src/Mod/Path/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Path/CMakeLists.txt
+@@ -10,7 +10,7 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Path
++ freecad/Mod/Path
+ )
+
+ SET(PathScripts_SRCS
+@@ -68,5 +68,5 @@ INSTALL(
+ FILES
+ ${PathScripts_SRCS}
+ DESTINATION
+- Mod/Path/PathScripts
++ freecad/Mod/Path/PathScripts
+ )
diff --git a/freecad/patches/patch-src_Mod_Plot_CMakeLists.txt b/freecad/patches/patch-src_Mod_Plot_CMakeLists.txt
new file mode 100644
index 0000000..5f45a4e
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Plot_CMakeLists.txt
@@ -0,0 +1,56 @@
+$NetBSD$
+
+--- src/Mod/Plot/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Plot/CMakeLists.txt
+@@ -69,44 +69,44 @@ INSTALL(
+ FILES
+ ${PlotAxes_SRCS}
+ DESTINATION
+- Mod/Plot/plotAxes
++ freecad/Mod/Plot/plotAxes
+ )
+ INSTALL(
+ FILES
+ ${PlotLabels_SRCS}
+ DESTINATION
+- Mod/Plot/plotLabels
++ freecad/Mod/Plot/plotLabels
+ )
+ INSTALL(
+ FILES
+ ${PlotPositions_SRCS}
+ DESTINATION
+- Mod/Plot/plotPositions
++ freecad/Mod/Plot/plotPositions
+ )
+ INSTALL(
+ FILES
+ ${PlotSave_SRCS}
+ DESTINATION
+- Mod/Plot/plotSave
++ freecad/Mod/Plot/plotSave
+ )
+ INSTALL(
+ FILES
+ ${PlotSeries_SRCS}
+ DESTINATION
+- Mod/Plot/plotSeries
++ freecad/Mod/Plot/plotSeries
+ )
+ INSTALL(
+ FILES
+ ${PlotUtils_SRCS}
+ DESTINATION
+- Mod/Plot/plotUtils
++ freecad/Mod/Plot/plotUtils
+ )
+ INSTALL(
+ FILES
+ ${PlotMain_SRCS}
+ ${Plot_QRC_SRCS}
+ DESTINATION
+- Mod/Plot
++ freecad/Mod/Plot
+ )
+
+ SET(PlotGuiIcon_SVG
diff --git a/freecad/patches/patch-src_Mod_Points_CMakeLists.txt b/freecad/patches/patch-src_Mod_Points_CMakeLists.txt
new file mode 100644
index 0000000..d3ed9fe
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Points_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Points/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Points/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Points
++ freecad/Mod/Points
+ )
diff --git a/freecad/patches/patch-src_Mod_Raytracing_CMakeLists.txt b/freecad/patches/patch-src_Mod_Raytracing_CMakeLists.txt
new file mode 100644
index 0000000..e47de66
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Raytracing_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Raytracing/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Raytracing/CMakeLists.txt
+@@ -10,7 +10,7 @@ INSTALL(
+ InitGui.py
+ RaytracingExample.py
+ DESTINATION
+- Mod/Raytracing
++ freecad/Mod/Raytracing
+ )
+
+ INSTALL(
diff --git a/freecad/patches/patch-src_Mod_ReverseEngineering_CMakeLists.txt b/freecad/patches/patch-src_Mod_ReverseEngineering_CMakeLists.txt
new file mode 100644
index 0000000..2ec9ee7
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_ReverseEngineering_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/ReverseEngineering/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/ReverseEngineering/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/ReverseEngineering
++ freecad/Mod/ReverseEngineering
+ )
diff --git a/freecad/patches/patch-src_Mod_Robot_CMakeLists.txt b/freecad/patches/patch-src_Mod_Robot_CMakeLists.txt
new file mode 100644
index 0000000..a1f5502
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Robot_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Robot/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Robot/CMakeLists.txt
+@@ -13,7 +13,7 @@ INSTALL(
+ RobotExample.py
+ RobotExampleTrajectoryOutOfShapes.py
+ DESTINATION
+- Mod/Robot
++ freecad/Mod/Robot
+ )
+
+ INSTALL(
diff --git a/freecad/patches/patch-src_Mod_Sandbox_CMakeLists.txt b/freecad/patches/patch-src_Mod_Sandbox_CMakeLists.txt
new file mode 100644
index 0000000..27f79ab
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Sandbox_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Sandbox/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Sandbox/CMakeLists.txt
+@@ -10,5 +10,5 @@ INSTALL(
+ InitGui.py
+ exportDRAWEXE.py
+ DESTINATION
+- Mod/Sandbox
++ freecad/Mod/Sandbox
+ )
diff --git a/freecad/patches/patch-src_Mod_Ship_CMakeLists.txt b/freecad/patches/patch-src_Mod_Ship_CMakeLists.txt
new file mode 100644
index 0000000..28c2222
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Ship_CMakeLists.txt
@@ -0,0 +1,98 @@
+$NetBSD$
+
+--- src/Mod/Ship/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Ship/CMakeLists.txt
+@@ -129,80 +129,80 @@ INSTALL(
+ FILES
+ ${ShipExamples_SRCS}
+ DESTINATION
+- Mod/Ship/resources/examples
++ freecad/Mod/Ship/resources/examples
+ )
+ INSTALL(
+ FILES
+ ${ShipLoadExample_SRCS}
+ DESTINATION
+- Mod/Ship/shipLoadExample
++ freecad/Mod/Ship/shipLoadExample
+ )
+ INSTALL(
+ FILES
+ ${ShipCreateShip_SRCS}
+ DESTINATION
+- Mod/Ship/shipCreateShip
++ freecad/Mod/Ship/shipCreateShip
+ )
+ INSTALL(
+ FILES
+ ${ShipOutlineDraw_SRCS}
+ DESTINATION
+- Mod/Ship/shipOutlineDraw
++ freecad/Mod/Ship/shipOutlineDraw
+ )
+ INSTALL(
+ FILES
+ ${ShipAreasCurve_SRCS}
+ DESTINATION
+- Mod/Ship/shipAreasCurve
++ freecad/Mod/Ship/shipAreasCurve
+ )
+ INSTALL(
+ FILES
+ ${ShipHydrostatics_SRCS}
+ DESTINATION
+- Mod/Ship/shipHydrostatics
++ freecad/Mod/Ship/shipHydrostatics
+ )
+ INSTALL(
+ FILES
+ ${ShipCreateWeight_SRCS}
+ DESTINATION
+- Mod/Ship/shipCreateWeight
++ freecad/Mod/Ship/shipCreateWeight
+ )
+ INSTALL(
+ FILES
+ ${ShipCreateTank_SRCS}
+ DESTINATION
+- Mod/Ship/shipCreateTank
++ freecad/Mod/Ship/shipCreateTank
+ )
+ INSTALL(
+ FILES
+ ${ShipCapacityCurve_SRCS}
+ DESTINATION
+- Mod/Ship/shipCapacityCurve
++ freecad/Mod/Ship/shipCapacityCurve
+ )
+ INSTALL(
+ FILES
+ ${ShipCreateLoadCondition_SRCS}
+ DESTINATION
+- Mod/Ship/shipCreateLoadCondition
++ freecad/Mod/Ship/shipCreateLoadCondition
+ )
+ INSTALL(
+ FILES
+ ${ShipGZ_SRCS}
+ DESTINATION
+- Mod/Ship/shipGZ
++ freecad/Mod/Ship/shipGZ
+ )
+ INSTALL(
+ FILES
+ ${ShipUtils_SRCS}
+ DESTINATION
+- Mod/Ship/shipUtils
++ freecad/Mod/Ship/shipUtils
+ )
+ INSTALL(
+ FILES
+ ${ShipMain_SRCS}
+ ${Ship_QRC_SRCS}
+ DESTINATION
+- Mod/Ship
++ freecad/Mod/Ship
+ )
+
+ SET(ShipGuiIcon_SVG
diff --git a/freecad/patches/patch-src_Mod_Sketcher_CMakeLists.txt b/freecad/patches/patch-src_Mod_Sketcher_CMakeLists.txt
new file mode 100644
index 0000000..7bd6963
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Sketcher_CMakeLists.txt
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- src/Mod/Sketcher/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Sketcher/CMakeLists.txt
+@@ -13,7 +13,7 @@ INSTALL(
+ TestSketcherGui.py
+ Profiles.py
+ DESTINATION
+- Mod/Sketcher
++ freecad/Mod/Sketcher
+ )
+
+ INSTALL(
+@@ -22,5 +22,5 @@ INSTALL(
+ ProfileLib/RegularPolygon.py
+ ProfileLib/__init__.py
+ DESTINATION
+- Mod/Sketcher/ProfileLib
++ freecad/Mod/Sketcher/ProfileLib
+ )
diff --git a/freecad/patches/patch-src_Mod_Spreadsheet_CMakeLists.txt b/freecad/patches/patch-src_Mod_Spreadsheet_CMakeLists.txt
new file mode 100644
index 0000000..de7b1b0
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Spreadsheet_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Spreadsheet/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Spreadsheet/CMakeLists.txt
+@@ -10,5 +10,5 @@ INSTALL(
+ InitGui.py
+ TestSpreadsheet.py
+ DESTINATION
+- Mod/Spreadsheet
++ freecad/Mod/Spreadsheet
+ )
diff --git a/freecad/patches/patch-src_Mod_Start_CMakeLists.txt b/freecad/patches/patch-src_Mod_Start_CMakeLists.txt
new file mode 100644
index 0000000..972e605b
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Start_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Start/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Start/CMakeLists.txt
+@@ -46,5 +46,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Start
++ freecad/Mod/Start
+ )
diff --git a/freecad/patches/patch-src_Mod_Start_StartPage_CMakeLists.txt b/freecad/patches/patch-src_Mod_Start_StartPage_CMakeLists.txt
new file mode 100644
index 0000000..a16a6d9
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Start_StartPage_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/Mod/Start/StartPage/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Start/StartPage/CMakeLists.txt
+@@ -1,6 +1,6 @@
+
+ INSTALL(FILES ${StartPage_Scripts}
+- DESTINATION Mod/Start/StartPage
++ DESTINATION freecad/Mod/Start/StartPage
+ )
+
+ INSTALL(FILES ${StartPage_Resources}
diff --git a/freecad/patches/patch-src_Mod_TemplatePyMod_CMakeLists.txt b/freecad/patches/patch-src_Mod_TemplatePyMod_CMakeLists.txt
new file mode 100644
index 0000000..cfc9f66
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_TemplatePyMod_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/TemplatePyMod/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/TemplatePyMod/CMakeLists.txt
+@@ -18,5 +18,5 @@ INSTALL(
+ PythonQt.py
+ Tests.py
+ DESTINATION
+- Mod/TemplatePyMod
++ freecad/Mod/TemplatePyMod
+ )
diff --git a/freecad/patches/patch-src_Mod_Test_CMakeLists.txt b/freecad/patches/patch-src_Mod_Test_CMakeLists.txt
new file mode 100644
index 0000000..220d23f
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Test_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Test/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Test/CMakeLists.txt
+@@ -25,7 +25,7 @@ INSTALL(
+ FILES
+ ${Test_SRCS}
+ DESTINATION
+- Mod/Test
++ freecad/Mod/Test
+ )
+
+ if(BUILD_GUI)
diff --git a/freecad/patches/patch-src_Mod_Test_Gui_CMakeLists.txt b/freecad/patches/patch-src_Mod_Test_Gui_CMakeLists.txt
new file mode 100644
index 0000000..438a401
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Test_Gui_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Mod/Test/Gui/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Test/Gui/CMakeLists.txt
+@@ -59,7 +59,7 @@ SET_BIN_DIR(QtUnitGui QtUnitGui /Mod/Tes
+ SET_PYTHON_PREFIX_SUFFIX(QtUnitGui)
+
+ INSTALL(TARGETS QtUnitGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
+-INSTALL(FILES ${TestGuiPy_SRCS} DESTINATION Mod/Test)
++INSTALL(FILES ${TestGuiPy_SRCS} DESTINATION freecad/Mod/Test)
+
+ SET(TestGuiIcon_SVG
+ Resources/icons/TestWorkbench.svg
diff --git a/freecad/patches/patch-src_Mod_Web_CMakeLists.txt b/freecad/patches/patch-src_Mod_Web_CMakeLists.txt
new file mode 100644
index 0000000..a7f56f2
--- /dev/null
+++ b/freecad/patches/patch-src_Mod_Web_CMakeLists.txt
@@ -0,0 +1,11 @@
+$NetBSD$
+
+--- src/Mod/Web/CMakeLists.txt.orig 2016-04-02 13:29:08.000000000 +0000
++++ src/Mod/Web/CMakeLists.txt
+@@ -9,5 +9,5 @@ INSTALL(
+ Init.py
+ InitGui.py
+ DESTINATION
+- Mod/Web
++ freecad/Mod/Web
+ )
Home |
Main Index |
Thread Index |
Old Index