Compare commits
2601 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f7dccfaa90 | |||
| 76542ae729 | |||
| 55698377f9 | |||
| f21cbce8cd | |||
| 9152703516 | |||
| c264c76d8f | |||
| d8f5560cac | |||
| 442e411cf0 | |||
| 55080952a8 | |||
| f185504b4e | |||
| 2bc3daedcc | |||
| 2cef63f8a3 | |||
| 81a7d937bd | |||
| 64f3424cab | |||
| 64cb745ddc | |||
| 228876f8f2 | |||
| 8ece48c70b | |||
| 690774c0ef | |||
| 639a497c9d | |||
| eb171db379 | |||
| 6a7085fe08 | |||
| 67a19b758a | |||
| 1a67718022 | |||
| ec86db4bfb | |||
| 194f5d779e | |||
| 6323069cbb | |||
| 568faf67a0 | |||
| 4a1c04e059 | |||
| 3e713d918c | |||
| c1c5dd9bb4 | |||
| ba6092502c | |||
| 6363c90a20 | |||
| 67df9f3a82 | |||
| 0acb6eb236 | |||
| 00f2bd4e62 | |||
| 9e86ff440f | |||
| 3ad9ee6fa4 | |||
| b5c3ca2087 | |||
| 7b5458b7fa | |||
| 9a99a87a9a | |||
| 7189b8ebc0 | |||
| 198c2258d4 | |||
| e21c284472 | |||
| 6ebc2423b5 | |||
| dcae6d027e | |||
| 8f58abfd49 | |||
| 8a84875e07 | |||
| 13433f4779 | |||
| 10cdb56f24 | |||
| 8d01876484 | |||
| 87e47df06d | |||
| fd326aebb2 | |||
| 3f6149ad4a | |||
| e40ee28c1d | |||
| 2e1e942a9b | |||
| c3fb5edc41 | |||
| 55160676d3 | |||
| 19a62a44ea | |||
| b5bd2e3405 | |||
| 1daa0aa79c | |||
| 56cc7e7913 | |||
| e606062f4c | |||
| 7a2398ee80 | |||
| 79f9c21379 | |||
| e21423836a | |||
| 185098a911 | |||
| 445f747378 | |||
| e8044ac2cc | |||
| 0b5cc822e8 | |||
| f839b136d1 | |||
| 56056a491d | |||
| 3ca714670f | |||
| 16a84b9605 | |||
| f24bed170a | |||
| f29df543c2 | |||
| 28b195d6e2 | |||
| d28e6a6ae7 | |||
| 2b0d3477cb | |||
| a604dab0b8 | |||
| b1909bff4d | |||
| 519849de89 | |||
| 34e09b9af3 | |||
| 9079de7516 | |||
| ad28ba5095 | |||
| a70a82e19f | |||
| 58aa9b183e | |||
| 039ed11e84 | |||
| ce4413e7a4 | |||
| ac51fb35a7 | |||
| 6a3a3f9f3e | |||
| 93456fda4c | |||
| e481af1369 | |||
| f8771be49a | |||
| 83a40a3273 | |||
| 1f2e0fb9e5 | |||
| cf7df30f0f | |||
| 910753def0 | |||
| 34cd6733fb | |||
| db027538dd | |||
| 4e788b40ff | |||
| dfc4ac5ceb | |||
| 49707de57a | |||
| 025ec48c8b | |||
| c942ab71c5 | |||
| 6f6735f9a8 | |||
| 68e23b6814 | |||
| d0098ff966 | |||
| 90d789e393 | |||
| f8a5d278a1 | |||
| 8da09b30e7 | |||
| 337c9c936f | |||
| 9032c4c587 | |||
| 5791c341be | |||
| fcd3fe0a46 | |||
| 2ccffbe406 | |||
| f9d30cdc7c | |||
| 59a0144a4f | |||
| 979177deb1 | |||
| b0d83f3c5e | |||
| 10c745175f | |||
| 070a153757 | |||
| 29ae44e083 | |||
| d3e008e46c | |||
| be45d5e7ba | |||
| 1c209d423f | |||
| f572207cdf | |||
| 3a472131af | |||
| 972bb5ee1b | |||
| 91a1a4b6d6 | |||
| 3f8c524609 | |||
| 21e1a89fc7 | |||
| 5e57de60d7 | |||
| 9ae07756c7 | |||
| 13a4ccc386 | |||
| 18c9046cef | |||
| 85da6c363d | |||
| d3631968ab | |||
| e3d63493c7 | |||
| 4e973324ae | |||
| a4e46d1fa1 | |||
| 0852dde409 | |||
| 4765b7e2fe | |||
| bd89326d06 | |||
| 183cd16263 | |||
| 564d41d835 | |||
| 2631df09c0 | |||
| 77b22f4f30 | |||
| 8b8f96b930 | |||
| c940081de1 | |||
| b9b0a973e4 | |||
| f6d9ec8568 | |||
| 397418078a | |||
| 638988f589 | |||
| 2fcb7cb644 | |||
| e55b718cd6 | |||
| 56fb560e4f | |||
| 0061ea743b | |||
| b686b43b9d | |||
| 744ab56576 | |||
| 9249db9f4c | |||
| 7fd66a11bf | |||
| 7249a15165 | |||
| f8c6bc6312 | |||
| cad3019da5 | |||
| e448ac66fb | |||
| 66da83ef92 | |||
| 9d87d13dd2 | |||
| 2e8412f684 | |||
| 21dc8c5054 | |||
| 187988b64b | |||
| 3fc17edb41 | |||
| c215a2aa2c | |||
| acdd4b097b | |||
| 723f1cf2c5 | |||
| a6a9c15c4c | |||
| afc44af3e9 | |||
| 997d1d7d51 | |||
| dace2f39cf | |||
| 99b289e541 | |||
| dca9120de7 | |||
| 7642214958 | |||
| 9c545b1883 | |||
| b80d1887c3 | |||
| 7ab47cd6a6 | |||
| 328c1a937a | |||
| 80af7c6b60 | |||
| 1c44504a27 | |||
| a79624c6a7 | |||
| a1ba550301 | |||
| 899f3df2fe | |||
| 1b69cc58a1 | |||
| e3793e6c88 | |||
| 638845a6f0 | |||
| 60d6a21493 | |||
| a12f4f364f | |||
| 68e7975157 | |||
| 90c80f83fd | |||
| b842274386 | |||
| f0320d954a | |||
| 2bb5797568 | |||
| 1e343d339f | |||
| 239c20b71f | |||
| 493a144080 | |||
| 67020fffef | |||
| ffaf1c9b76 | |||
| f160cc7854 | |||
| 3845350c0a | |||
| f581d5c8cb | |||
| b52f8d1e1d | |||
| 4e42e42957 | |||
| a73b10203a | |||
| b8da380ef4 | |||
| 5f4deea7c9 | |||
| 36dc7b4242 | |||
| 7da9b674fc | |||
| 6704887afa | |||
| 506048a6f9 | |||
| 04bc3f817a | |||
| 645b397dda | |||
| 88228d6d25 | |||
| 4ff8995167 | |||
| ef79d20bfa | |||
| 07f7a04d61 | |||
| 1e631eed1f | |||
| 587b0a79ee | |||
| 44a1298b80 | |||
| e9434d5023 | |||
| 60f91fbef2 | |||
| 21353779d9 | |||
| 9207e2ef7d | |||
| a2bca22fc9 | |||
| 4ced49da81 | |||
| 41ab00c116 | |||
| a0e3ab1a40 | |||
| 97614e0341 | |||
| ce5757e1a6 | |||
| b1efdf9c6a | |||
| ac0fc4d13c | |||
| 43ef43c3e2 | |||
| 00007327c4 | |||
| 96a1007eae | |||
| 57a0acffc0 | |||
| 4bfe11ff43 | |||
| c648b0e874 | |||
| 7d0e06c961 | |||
| 1a68b75a4b | |||
| ad51185280 | |||
| 43b081947f | |||
| 9e7c384948 | |||
| b4d2b9def5 | |||
| 3b708c7f84 | |||
| 0677684047 | |||
| 9dfbc8f797 | |||
| 1081403d21 | |||
| 7f2ad7fbbf | |||
| 79b7041336 | |||
| 8223a5497a | |||
| 1f70b27bad | |||
| 33e40b584e | |||
| 3b579190ea | |||
| e0be3e474e | |||
| 76d1f0aa8e | |||
| 0310bf6487 | |||
| 3c3d9bca58 | |||
| 22f59570c8 | |||
| b94ebbecc5 | |||
| fb37201299 | |||
| b29209d523 | |||
| aee5b0213b | |||
| 0c3bfc4ff3 | |||
| 4e2ae6f408 | |||
| a3b93ee0eb | |||
| 0ceae9ead4 | |||
| 6dd192eb1e | |||
| 51b32d75b4 | |||
| 397902c205 | |||
| 604811596f | |||
| 112f3de671 | |||
| 110f6f74a4 | |||
| 92614e5688 | |||
| fbdfe16462 | |||
| 082647b2d1 | |||
| 317bcd59c9 | |||
| 216106e407 | |||
| 0c37c7f5a5 | |||
| 9067d6a738 | |||
| b1d086463d | |||
| 2ac0851d4c | |||
| ae3b57be3b | |||
| 1401c00d60 | |||
| a23a9499bc | |||
| 4f7804dc10 | |||
| e3ab6a1e1b | |||
| 27a467a44b | |||
| 7ee0e4d439 | |||
| 4a5cf9c52f | |||
| f14633d182 | |||
| b2619e7eb7 | |||
| 09da55e90f | |||
| cce889b21c | |||
| d040a656b4 | |||
| 4cfda0c3a5 | |||
| 140d085517 | |||
| 334a2a31d0 | |||
| 18b5f238ae | |||
| f431226bb8 | |||
| 59f39e2a33 | |||
| ddc27357f5 | |||
| c0e8a4f310 | |||
| 38675fb0f5 | |||
| 8c1c221f25 | |||
| d8d185fe19 | |||
| 62264e69f1 | |||
| 2c0ed3c041 | |||
| 50895db6c1 | |||
| 07910613dd | |||
| 550009be14 | |||
| e680c60def | |||
| c98407e282 | |||
| dd98661de7 | |||
| 6a4422a9b6 | |||
| 03d7b83adb | |||
| ebc9893512 | |||
| ebe1a2c4a4 | |||
| f05d8c314a | |||
| eba3b95438 | |||
| db9b125e04 | |||
| 1f79cd7007 | |||
| a4d5c02d36 | |||
| 2c0dfda7b5 | |||
| f94e76c111 | |||
| ac18ec0d79 | |||
| 27885764c5 | |||
| 0bed2a9c53 | |||
| 0cd796a0f1 | |||
| 7e9c09b770 | |||
| cba29e6ce6 | |||
| ce86fa4365 | |||
| e49098824b | |||
| ebbe781771 | |||
| 52aa1b24cc | |||
| de5fcf7c19 | |||
| a3612b4ac9 | |||
| e18ed72bdf | |||
| 36c7d8740f | |||
| 546cadebb8 | |||
| ea60b65518 | |||
| 9604920b1e | |||
| 10e8d1281a | |||
| 84f68cc266 | |||
| dd3c9ccfeb | |||
| 0294b55bf0 | |||
| 09f134d56f | |||
| 7867864456 | |||
| 46ffa77c32 | |||
| 05ec6dbde5 | |||
| 5e6fb09119 | |||
| e25044d0e9 | |||
| 882c4ca2f3 | |||
| 6e91ae9561 | |||
| a901f5798a | |||
| 49be948b45 | |||
| 13622cd0b8 | |||
| 8a4af3b28c | |||
| 69707228c5 | |||
| 77102cae41 | |||
| 103c118b82 | |||
| 92622053ae | |||
| 67fff1538d | |||
| 26750deb07 | |||
| f11f2fb590 | |||
| e78fd828e2 | |||
| 06967e2b4d | |||
| 3b85a067bd | |||
| 3a32c314bc | |||
| 3253de75e9 | |||
| 1770117406 | |||
| 582181af70 | |||
| 845e77164b | |||
| a07e675d9e | |||
| 4c33b114de | |||
| bccfcfc5d7 | |||
| cf75857376 | |||
| adae9071ed | |||
| 1db71c3c7e | |||
| d858a8609d | |||
| c65fce6128 | |||
| 95f16814f6 | |||
| 90841f72c1 | |||
| 0df518db8f | |||
| 16653a4be9 | |||
| 83c2434bd9 | |||
| d5ea453f9d | |||
| e1446a0b99 | |||
| 0c5629870c | |||
| 0f00402201 | |||
| 0b7c0b93dc | |||
| 93dd00cc39 | |||
| 763b4f3d8c | |||
| 5caae5f430 | |||
| f2dc59c3ab | |||
| d2ddce6a2e | |||
| dbc09e3a23 | |||
| 9f96254e7e | |||
| bf24b74629 | |||
| 051454314b | |||
| 4079c9603f | |||
| 80f82b59db | |||
| 4c38d81d90 | |||
| 672b15a8da | |||
| 2b3ea642da | |||
| 28a23c23bc | |||
| af4026bcd5 | |||
| dedaa80762 | |||
| 090fc64284 | |||
| eb08c67a78 | |||
| 96dee91d5e | |||
| 16ab8d3c8a | |||
| 86078f6bae | |||
| ba14668e1a | |||
| 47a2296c69 | |||
| d7c22d92dd | |||
| 5a26558a9d | |||
| 13bf2c9672 | |||
| 3ade7b34af | |||
| ca2e3c2324 | |||
| 041a550815 | |||
| 90fd3ae483 | |||
| 99c47b9bb2 | |||
| 79a25ff6bd | |||
| 46066bc160 | |||
| 82d92280af | |||
| 7fd16affee | |||
| e385ed7809 | |||
| 76c9540009 | |||
| 873762ccda | |||
| ef87018430 | |||
| cb768d4087 | |||
| b7fbd7aeff | |||
| 28cbe2bd89 | |||
| 2e03740572 | |||
| 2a208f9da4 | |||
| d0d8b99302 | |||
| b8172a1047 | |||
| 969b8860f8 | |||
| 37389601e7 | |||
| 90f4869cac | |||
| 4b7ddfe407 | |||
| 769632f33b | |||
| 3c0193b796 | |||
| 5e2fbe18e5 | |||
| 4f67fae9e8 | |||
| 7bd3bb8371 | |||
| ed06cbe626 | |||
| a60b6957db | |||
| ae95f77f5a | |||
| 42d7c7afd3 | |||
| de53904563 | |||
| d37dea9c74 | |||
| b852d1490e | |||
| c9b4f4ba67 | |||
| 552ed9eab2 | |||
| e3ec8e7004 | |||
| 0cc8efa105 | |||
| fdf8fe7bc6 | |||
| f1c23e9038 | |||
| 6e5369da3a | |||
| 71d57b3760 | |||
| bdbea25d0d | |||
| 9f394aa53a | |||
| d94fc4988e | |||
| 3f51e25b26 | |||
| f86f5e9272 | |||
| 4257a4d8ba | |||
| 16435205d4 | |||
| 17a6a9889b | |||
| 767c7365d3 | |||
| 24f1b023ef | |||
| dd7aba2f65 | |||
| c601f4cb66 | |||
| 85c7ac5abb | |||
| 53eb746e1a | |||
| 632f9cf250 | |||
| 1382f83620 | |||
| 1f5059b5b2 | |||
| b357d530ef | |||
| d0d2a05941 | |||
| 0d022601f2 | |||
| 506741aee1 | |||
| 15b854b2a0 | |||
| abe82e00f4 | |||
| 7d8e566264 | |||
| cec0cf9133 | |||
| 0459122c11 | |||
| a32d938962 | |||
| b7bf5db527 | |||
| 033fce2685 | |||
| ac097cc240 | |||
| 6ccc239f97 | |||
| 64a94ae0f7 | |||
| a69abb3b75 | |||
| a14af0f2bd | |||
| 356ecd5b1b | |||
| f9f5b34ba7 | |||
| 896aaf575f | |||
| 9a72871137 | |||
| 511a9edae8 | |||
| fb08dce8d4 | |||
| c701531069 | |||
| a17ca7dc05 | |||
| 3d52e8a6b9 | |||
| d37d7455d0 | |||
| 89cf78b262 | |||
| 59731e95a8 | |||
| e638705bc4 | |||
| 1ebcb36545 | |||
| 55a4f78adf | |||
| 6efd6de4c1 | |||
| a7c0f4bc5b | |||
| 51ab27f54a | |||
| fdb855e366 | |||
| 3c4a5389d6 | |||
| 9af7b83538 | |||
| cf5a045792 | |||
| 4ccdabd004 | |||
| 05572ba49e | |||
| f503314132 | |||
| b7ccf8da00 | |||
| bdc0509372 | |||
| 53a2feb6c0 | |||
| 59eb1735bc | |||
| e10e90516e | |||
| a9f1a0c4e2 | |||
| 1a8d3a7030 | |||
| 0136445404 | |||
| 744f381d5d | |||
| a07d1af088 | |||
| a395c570f8 | |||
| ab1f4c442d | |||
| 2c3268f9f6 | |||
| 381f087536 | |||
| 81729f6621 | |||
| 6e0a5580b8 | |||
| cd1ebb1732 | |||
| d33098860d | |||
| ade267b8f6 | |||
| bc31a9afcd | |||
| b3de953c18 | |||
| 86c7a85e3c | |||
| 19cd5690e7 | |||
| 0177c8b64e | |||
| d9f8cfac18 | |||
| 41a9f5bbab | |||
| 9f2904e8ec | |||
| 56db51867c | |||
| 37a2cceab3 | |||
| 76541ca1b5 | |||
| 2e6dac1871 | |||
| 3f443d2264 | |||
| 8a3fd0caf6 | |||
| 64fa8cb855 | |||
| 2c838bfc7d | |||
| df3853738e | |||
| 7afb54f49b | |||
| 7ba92f96a5 | |||
| 8358d7f876 | |||
| b8455531c1 | |||
| 2aa4f8c47f | |||
| 9ea523a9e0 | |||
| 3ba0772d97 | |||
| 8526b0747e | |||
| 309640eb7f | |||
| f1c6c549a9 | |||
| 8527b0228e | |||
| 98ebeaa198 | |||
| 5af993cb1c | |||
| ddebf0d3c7 | |||
| 0a25f7fd58 | |||
| 0274e73a8d | |||
| 01367d21f6 | |||
| ccf99f57c0 | |||
| 06ef43c77f | |||
| 1f30c218e6 | |||
| 70aaf3e95f | |||
| 47fc808157 | |||
| 1a7d3d9a37 | |||
| 41fee3bb3d | |||
| 563d020b67 | |||
| fd9516e071 | |||
| 6cdeab9c14 | |||
| 0bf6ca9732 | |||
| 7e80a1f64e | |||
| e83c44200a | |||
| 91a61d4813 | |||
| 195c530c00 | |||
| be5796b2d0 | |||
| 6cc2c1147e | |||
| 42e6650ac0 | |||
| 217e0fef0f | |||
| 5d36da83e0 | |||
| 4276b92e32 | |||
| 1d840261c5 | |||
| 79723fe3d4 | |||
| f3a44bed80 | |||
| 407dc25dba | |||
| f275a95008 | |||
| c025a77797 | |||
| 3c23f2aa50 | |||
| 368f0f0ccd | |||
| fc5542b976 | |||
| cea09fd986 | |||
| 3e6e9ed690 | |||
| 7044147bac | |||
| 47f131b59e | |||
| d5dd0973ca | |||
| 9c7128ea77 | |||
| 8801726ed4 | |||
| ffd980b27e | |||
| 33dfca95fa | |||
| 0f03f1e2bb | |||
| dccf48d3f4 | |||
| 2226da3a20 | |||
| 2ea84272fd | |||
| 3969dd52aa | |||
| 71a8e2668d | |||
| 94e392347c | |||
| 376a70bffc | |||
| 1b854e029b | |||
| 60b9936a35 | |||
| 763b5c362f | |||
| ba22f17a3a | |||
| 3a9ada062f | |||
| 9bb6174545 | |||
| d7e61d68b8 | |||
| 356d24157c | |||
| 0ab6b3ec02 | |||
| 1030e1cc64 | |||
| 9d13a1ab89 | |||
| 07e7c2ef87 | |||
| 56e9e92fd5 | |||
| ab916fefe7 | |||
| 583917dc17 | |||
| 4c67a5c3c6 | |||
| 2e03d02a1a | |||
| f77c605ca8 | |||
| 86c5113e09 | |||
| 0d8388a47a | |||
| e72bd857c7 | |||
| f474900c07 | |||
| b918cbe14d | |||
| 92a89d6c2b | |||
| 8324b2ee1b | |||
| b73849bc33 | |||
| 0556a2ca68 | |||
| 842672d961 | |||
| ca7dd2e1c3 | |||
| 7aa4d2a9f6 | |||
| cd1959a094 | |||
| 47443dfd87 | |||
| 2830f107ae | |||
| 69e3aeaa40 | |||
| 47a38eceb3 | |||
| b5a3b7d3df | |||
| bde252895f | |||
| c4866c8346 | |||
| c5939d4476 | |||
| 91bb88fe18 | |||
| 2557f07cbe | |||
| 56aba4c9d9 | |||
| c43adafb12 | |||
| 64cd6a9082 | |||
| bf1603b388 | |||
| 5213f26846 | |||
| 175566d551 | |||
| eb04b8ef0c | |||
| ea885fb650 | |||
| 223eb6864c | |||
| 08ce5a6123 | |||
| 41e56ef9d0 | |||
| ef34dd3a4f | |||
| 8701a4d898 | |||
| dc8d8fdb44 | |||
| e1eae5e114 | |||
| 615d81fda3 | |||
| 6ee6c677c6 | |||
| b530c7e576 | |||
| 766383d411 | |||
| 583aea5aec | |||
| fec487dc7f | |||
| c7883cd3cd | |||
| 5a028e4578 | |||
| fd050c6f1d | |||
| 57b7142cd7 | |||
| cc0ea5571e | |||
| 150bcfcd77 | |||
| b441c0d3e8 | |||
| fffd4d49c4 | |||
| 3e247b32dc | |||
| 1421b35b83 | |||
| be23cf133a | |||
| 7acdd87bf2 | |||
| 0c886a479a | |||
| 981b158228 | |||
| 497b85f68c | |||
| fa658f2f3b | |||
| 5d5c4eb046 | |||
| 144fee0915 | |||
| 44e8f9e9bf | |||
| a41d7a7398 | |||
| 60581cff90 | |||
| 729b9e7afa | |||
| 9683abfc36 | |||
| 3b2c3b1d99 | |||
| 72c4bd3484 | |||
| 5dee2fdfb3 | |||
| ce75653955 | |||
| 5d105319d3 | |||
| a3ea67ceae | |||
| 8d88af3803 | |||
| ab6a3b34fc | |||
| b26a873920 | |||
| 9d39000e3a | |||
| 13441b6535 | |||
| 8bb994dff8 | |||
| f998547f8a | |||
| 0ac6451517 | |||
| 569715c1d7 | |||
| 1e47334634 | |||
| 1a77dc54c3 | |||
| e01546b0a9 | |||
| 25eb9a22e9 | |||
| 3290c36d28 | |||
| 7fe115a3c7 | |||
| d901631f8e | |||
| 5eeff9d17f | |||
| 081173e344 | |||
| 5d5ac035f7 | |||
| 083954a0e2 | |||
| 686688e00c | |||
| f56198dd33 | |||
| 5633bd14d2 | |||
| d91e38962c | |||
| 7102ff26a7 | |||
| d9d81ade84 | |||
| 167b0d6d99 | |||
| 1d8cc22ed4 | |||
| 0caa169eb0 | |||
| 9be3e63332 | |||
| f8f85f0079 | |||
| f76f19732c | |||
| bf3a1fdaa8 | |||
| 3059646761 | |||
| 1476caf281 | |||
| 9d395235b9 | |||
| 2cbf323e84 | |||
| bb226d1973 | |||
| e48254d98e | |||
| 20fe774784 | |||
| 265be0fd86 | |||
| c507ab9efd | |||
| a92014a36d | |||
| 36447d71c5 | |||
| 1311bac126 | |||
| 945497c73c | |||
| 80f2ccc304 | |||
| 592979b829 | |||
| e5c8c18e8d | |||
| 5c4b287597 | |||
| 93e179ba01 | |||
| 0e26ce1f27 | |||
| 14b780c0ee | |||
| 7b4bc50e5c | |||
| ac15cda1d4 | |||
| 9907422806 | |||
| 00e6e376c9 | |||
| eb9aa5c54d | |||
| e40ce74f27 | |||
| f3cee72436 | |||
| 711d7f52ba | |||
| f9dd5f2b6f | |||
| e06a541fec | |||
| d40b23a142 | |||
| 72d6c48bba | |||
| babd888668 | |||
| 5ccd715e3f | |||
| 9519f122f9 | |||
| 44bdb5f99c | |||
| a2024d448f | |||
| f6b1ec4401 | |||
| ef002fdde2 | |||
| 8483d8d5c2 | |||
| 47fd9d335e | |||
| 7159d38e82 | |||
| 69328ae2f5 | |||
| b12bcc44a8 | |||
| 9a7f97c827 | |||
| a899a970c8 | |||
| ccc5ff53fe | |||
| da7b5199fb | |||
| 51b3b33917 | |||
| c88a64e8e7 | |||
| 18e680f283 | |||
| 60c668231e | |||
| 7a279d7764 | |||
| cc09490725 | |||
| 4d4f016277 | |||
| e654e476f6 | |||
| 6199c95fd7 | |||
| 2e03d2f298 | |||
| b022c7c01d | |||
| c0644b84ed | |||
| 5217b245b4 | |||
| 79ba082c55 | |||
| bc53910ace | |||
| 34cad5b81f | |||
| 0e3cab0874 | |||
| bdbdf8c6b7 | |||
| 5c8a9d2e19 | |||
| 927b496827 | |||
| 9e870bec2e | |||
| d3ee0cd1fc | |||
| 426bc01188 | |||
| 792bb8282a | |||
| e3de72b131 | |||
| 82fd0a8db6 | |||
| b09fb97ad8 | |||
| 46d0d4c80c | |||
| 623a1b5ce8 | |||
| e677afd5c6 | |||
| 7d6e9c4f40 | |||
| 1dded002ca | |||
| 0939f17d6a | |||
| 03e7083dd5 | |||
| 0de83e8b90 | |||
| 8f62c85a6c | |||
| 081e318829 | |||
| 4d6bcdcb0d | |||
| 4e77cee5ee | |||
| c0567a5990 | |||
| 4dc201e086 | |||
| 1dbbb4371b | |||
| a27e333852 | |||
| 5ba7942660 | |||
| 16ee138017 | |||
| d7d52336ba | |||
| 6c3a4450e8 | |||
| ea66fcc55f | |||
| 7ceac311b3 | |||
| 42b689b464 | |||
| c24ff17840 | |||
| f3c5c9a70b | |||
| 0ed87a5775 | |||
| 72db8632ab | |||
| d150dec132 | |||
| bf779155d4 | |||
| 432ae644ee | |||
| 29eeb6c2d8 | |||
| 73df4e6fc0 | |||
| 652e1dbdd0 | |||
| 9fc8446c95 | |||
| 54dd7c621d | |||
| 3f585f4cf6 | |||
| 608d42d3cd | |||
| a3129d3335 | |||
| 0f2830609c | |||
| 024540dbbe | |||
| 36e3d5ef66 | |||
| 82fbdbb327 | |||
| 3799b2a306 | |||
| b1d6770ffb | |||
| ddb20468ad | |||
| 7216dba2f3 | |||
| b6a37e153f | |||
| 9a34a93db1 | |||
| 10b12ddedb | |||
| 8db80c5c99 | |||
| 1b152ee689 | |||
| 714604e58f | |||
| 8176b7129c | |||
| d62e886407 | |||
| 591718f918 | |||
| 580bb268d4 | |||
| a459ee3f22 | |||
| ddfa510565 | |||
| 7909ce83f9 | |||
| e67b84c5ec | |||
| 893f038717 | |||
| 5705763088 | |||
| 6df9b895ff | |||
| fc5b6288c6 | |||
| 6d836ad7a5 | |||
| f89b996396 | |||
| e623049763 | |||
| e58f72933a | |||
| c009a206f8 | |||
| 5479936894 | |||
| b3721f8613 | |||
| af36a78f7f | |||
| d86c83d6c5 | |||
| 1458c2364a | |||
| 23addab20d | |||
| 7dc13bd2d6 | |||
| e02695b91f | |||
| b0247d184e | |||
| 7acdb56d92 | |||
| 56db19824e | |||
| f6205c6b93 | |||
| fc16bcbfca | |||
| f9e487e4b2 | |||
| c5a5eb6a83 | |||
| 9d80db2793 | |||
| 560b415f19 | |||
| f34ec4534c | |||
| 4f02b209fc | |||
| da09f7c3d9 | |||
| a7094210f8 | |||
| 735b0a18b9 | |||
| 7e1acd756f | |||
| b8ed93605d | |||
| 6a6ea0a5a6 | |||
| c18785fdb3 | |||
| 36f5421b34 | |||
| de074ec4f3 | |||
| 04005b5e45 | |||
| 9d384bd74e | |||
| 7ed7b7add0 | |||
| 9e2acc477c | |||
| 442e2dd381 | |||
| b65faeff77 | |||
| 07cf5b10d7 | |||
| 084c483603 | |||
| 4245ae6863 | |||
| f10c28fb5b | |||
| 4d0c856fa0 | |||
| bd2bf371af | |||
| a8fda8df0b | |||
| 3d8b815834 | |||
| 847c6ef74a | |||
| 9fde41ff19 | |||
| f6a9cfaad3 | |||
| d4461f351c | |||
| 7d197ce829 | |||
| 490b76f405 | |||
| b56598428d | |||
| fe033dee78 | |||
| 24c33c0d96 | |||
| 36b9a1c45c | |||
| 6186a310d7 | |||
| 1d72ee4343 | |||
| daadba4924 | |||
| 7fbd1c6beb | |||
| ba11c3a701 | |||
| fb531582f6 | |||
| 798c0ea4a8 | |||
| 3408e5908c | |||
| f2ddb64fa1 | |||
| a345669b38 | |||
| 2d3f94590e | |||
| 64addcabd9 | |||
| e4fc276bac | |||
| fe8f172ce1 | |||
| ff5d67b66c | |||
| d03a11ead9 | |||
| 36124965d1 | |||
| fcdcb5d858 | |||
| fbb8e86cbf | |||
| 768b1874db | |||
| c1f19d3854 | |||
| dedf42102e | |||
| f71da8d76d | |||
| fb4460e528 | |||
| fe8677fab1 | |||
| bfcd21361f | |||
| de5b785f6e | |||
| 2f2f5af4c2 | |||
| 5118118740 | |||
| c40060bc20 | |||
| 13f589a0a6 | |||
| 195c492993 | |||
| 0a667889a0 | |||
| d779e5b4b9 | |||
| 6f42f3dacc | |||
| 293e5732ad | |||
| abc7101118 | |||
| 69d62787eb | |||
| fe78c1a037 | |||
| 2c41e70c91 | |||
| 6a1aed66e2 | |||
| 8e2e5d7b6a | |||
| 071bc89cf1 | |||
| 2765ed4792 | |||
| 90a1f4ad1c | |||
| c3014fc65f | |||
| 4c2f2cd210 | |||
| 5ff383b46c | |||
| 684b4ab03a | |||
| e4b1cfc430 | |||
| e86f7caea8 | |||
| 347f99364d | |||
| 40cec5f72a | |||
| 0c8da1c38a | |||
| f898eafd64 | |||
| 3858b179c3 | |||
| e10068a648 | |||
| 408c31634f | |||
| f0420d6cbd | |||
| 2f4b61dacb | |||
| cd34f3d127 | |||
| 976e804e2c | |||
| 6e7beb1a0b | |||
| 1be9f18b52 | |||
| 1538a14eca | |||
| 2b84be64cc | |||
| c2f2db8b56 | |||
| 1e7aa1becf | |||
| 42c5b2e9ca | |||
| 53ba33a805 | |||
| 1d86a83b30 | |||
| 957c22a61a | |||
| 044e0f6c20 | |||
| 7effa68eeb | |||
| 4b9d90321a | |||
| f1a98c3101 | |||
| 649d115afb | |||
| 0ed7b1d691 | |||
| c946de8fb4 | |||
| 4d1e981138 | |||
| 396998467b | |||
| 7c1a218847 | |||
| b1858f2cf4 | |||
| 0aa3da513a | |||
| 44c5f1a67e | |||
| 8b97a31372 | |||
| 9e349c33a8 | |||
| f301feec31 | |||
| 4c9356f0f5 | |||
| a3729d5ca9 | |||
| 17c783051b | |||
| e517c00d9b | |||
| 465152bcc9 | |||
| 4362ddc797 | |||
| 907cdb8fa0 | |||
| 57726db47f | |||
| 7fabfde0ef | |||
| b6712e264a | |||
| 3b1e1f8859 | |||
| 3443fd9661 | |||
| b262cf6e9f | |||
| c60364772a | |||
| f5fc291ecd | |||
| 4a7d49f8b6 | |||
| fd378bbc8d | |||
| 2af5a983a2 | |||
| 83f61b4372 | |||
| 7ec3984cbe | |||
| 9543d54647 | |||
| 3a85a1fd41 | |||
| 3391a5ea4b | |||
| 76590be8ac | |||
| 4cff87ed57 | |||
| 10cd4cc7af | |||
| 4fa707f46d | |||
| 9c1587cfad | |||
| b2135da447 | |||
| 0660fd737c | |||
| 33663d134d | |||
| 41ca90d223 | |||
| b11ed19f8d | |||
| f1e3ec88c6 | |||
| 8ffd8c2901 | |||
| b78a6b57fa | |||
| 0500bcbda3 | |||
| 2a53eb0432 | |||
| f976a4f734 | |||
| 968ce141d0 | |||
| 2506f5b207 | |||
| 37b738f86f | |||
| bac786a8ea | |||
| cef825c567 | |||
| 54f88cc75c | |||
| ae9786253c | |||
| d3df5d979a | |||
| d449f7f8c0 | |||
| 96f515748b | |||
| 341b72bea8 | |||
| a22a0d4567 | |||
| 733dae2b3d | |||
| 650404c17f | |||
| 24f43527f5 | |||
| 2004653fe4 | |||
| 36029e96d6 | |||
| be586d089e | |||
| a53027342e | |||
| ea4fb69e4e | |||
| 46b152669b | |||
| 3969400a11 | |||
| 74a6bb4253 | |||
| c78ebdec42 | |||
| 75ee3e4c25 | |||
| 27615abce1 | |||
| 8678f74dc6 | |||
| 7c4ab45e31 | |||
| 409fec05c9 | |||
| 70fef39341 | |||
| 31a9ae655f | |||
| 13584d64fb | |||
| 9f2ad88ded | |||
| 3ca8eb0989 | |||
| 8280d551a9 | |||
| 8933374b4d | |||
| 44c2f19e38 | |||
| 9bb360bb75 | |||
| 1243b2543e | |||
| a8b7390805 | |||
| c950d1f093 | |||
| 7b86681678 | |||
| 3a6afac8b2 | |||
| 1e6818b6fb | |||
| a281832627 | |||
| 5eac507240 | |||
| 162dfe5737 | |||
| 5e3b10c92f | |||
| 40d0db3176 | |||
| 76cc1308e1 | |||
| 5981cf07b1 | |||
| f5523dd830 | |||
| d6d7b36aeb | |||
| 1c1dfe2215 | |||
| 0b12ceec84 | |||
| 20298c45d2 | |||
| 0c63ab4234 | |||
| 47536dcd37 | |||
| 19b399015e | |||
| 9d3ad415aa | |||
| e79a19828e | |||
| c6745d1b5b | |||
| 571f75204a | |||
| cb30a82969 | |||
| 715ab0596e | |||
| e1c18f0153 | |||
| 404f9e019d | |||
| 7527c7d149 | |||
| 125f41e3e8 | |||
| f6e9faa62c | |||
| eaf987625e | |||
| a373280946 | |||
| 22ddbe0f8d | |||
| 68c644104a | |||
| 23d64fa7b7 | |||
| ae7c53b951 | |||
| 04faa8f497 | |||
| ff05101b68 | |||
| 6178c79581 | |||
| 22513600dd | |||
| 0e948db5a3 | |||
| e66849378b | |||
| dc023afc84 | |||
| 4ac34d06a8 | |||
| 1f3905810c | |||
| 11a569b6b4 | |||
| 3e3bfbabf5 | |||
| a0de8c9a62 | |||
| fb95e3247d | |||
| 7ec4fb357c | |||
| f68e36de41 | |||
| e91de65df0 | |||
| 238c8a8567 | |||
| 0edf6892b3 | |||
| 2a15d8fc3a | |||
| 64e9c4ea5a | |||
| c6b1bdd297 | |||
| ba85adf78c | |||
| ee3456fd88 | |||
| 876c65157d | |||
| 84aa87c852 | |||
| 8e084199d9 | |||
| 84280330aa | |||
| be8b1b52c1 | |||
| 3de3ac3994 | |||
| c825cca145 | |||
| 1e23a42068 | |||
| 294100d95e | |||
| 3d833e52df | |||
| f84971fca2 | |||
| f5befc75ce | |||
| d9e4c727db | |||
| 795e261be6 | |||
| c159f9abad | |||
| 6848a3c116 | |||
| 78863e2698 | |||
| 0e9bbf401c | |||
| 1a6665c0f4 | |||
| 2c09277763 | |||
| 48ec50db38 | |||
| a0916a9a66 | |||
| 7949cd84ef | |||
| abb56c35d0 | |||
| b7f7c16e6c | |||
| 5811bc5f24 | |||
| a520eb6342 | |||
| cc0dbb58e5 | |||
| da9c652782 | |||
| ebec4cd5e2 | |||
| 93d9f16588 | |||
| 58b80f5389 | |||
| 1dfdaca5d3 | |||
| 27c80884a1 | |||
| a6f7ca483e | |||
| 8bf9d368a4 | |||
| e2ddabf235 | |||
| a4b0bdf33d | |||
| 293ac55262 | |||
| 868baa6dd2 | |||
| 5b85233a58 | |||
| 41f0dc1fe8 | |||
| 39d072bf82 | |||
| a03f8b7e49 | |||
| b8c50dc0f9 | |||
| 2de755186b | |||
| fae5b4f7f7 | |||
| 65dd09d5e6 | |||
| dedd66e7f4 | |||
| 93f06f8256 | |||
| 4cab61c54a | |||
| a7942fc3ec | |||
| 04568dc6ee | |||
| 317de14d25 | |||
| 82b98588aa | |||
| 840e904a12 | |||
| dd2679bc46 | |||
| cf2799ccd8 | |||
| cc320aa802 | |||
| b569120131 | |||
| 1578b05a98 | |||
| f5668c77ae | |||
| d2c2b35b6c | |||
| 1d3f3ab7ec | |||
| 0e6f14e86b | |||
| 6410c28ddb | |||
| c7252e5efd | |||
| dc41055741 | |||
| ffdfaafb98 | |||
| 3d86b69657 | |||
| f56afed06d | |||
| 702b999e48 | |||
| a6ae394c1a | |||
| e1b9ad2899 | |||
| bc9de847f1 | |||
| 23643f08dc | |||
| b05d61b391 | |||
| 99855a1605 | |||
| c3a8348861 | |||
| caf78bbabf | |||
| 46def65b44 | |||
| dfe734f3f1 | |||
| 496df34369 | |||
| 1fec4d0c51 | |||
| 64b9c78b92 | |||
| 47dacf30d0 | |||
| e8c6007c8f | |||
| b73cbd739c | |||
| 80e4b36f37 | |||
| d1eb5f19a8 | |||
| 9a2338a2cf | |||
| a9dfb16998 | |||
| 96ea2d470e | |||
| c78321f347 | |||
| 55e6ee6d20 | |||
| cfe088400d | |||
| 6b44ba59bb | |||
| 17b568db17 | |||
| dc46910231 | |||
| 0d228bce02 | |||
| 2cddbe5dab | |||
| 56378b5be8 | |||
| e605d5f4bf | |||
| 27a4938d90 | |||
| 95efad737b | |||
| 02ab1c9424 | |||
| 0812fb06df | |||
| 3d2d4bdfcb | |||
| 1d1abb6d29 | |||
| 830caf34c0 | |||
| 13b45c9c79 | |||
| 19cd040415 | |||
| a0ff629747 | |||
| a905b63632 | |||
| de7ef263d2 | |||
| 5fc337baf5 | |||
| b0f65e45ba | |||
| ac1b0371e1 | |||
| f054788a9e | |||
| 7fc487ae6f | |||
| 00bf21dc26 | |||
| 0c744f2517 | |||
| fc09738579 | |||
| 1e53a8f479 | |||
| 27f9a69f24 | |||
| 35f6a4fa72 | |||
| df0eb076a6 | |||
| f9b9de42dd | |||
| 859fed207d | |||
| 3163c3d6f5 | |||
| db593f2169 | |||
| 6b9c1e89d1 | |||
| 57cc33c8ee | |||
| dd492d7484 | |||
| ff0cacca0a | |||
| dfd3d86b22 | |||
| 654fc12c8f | |||
| b112ac0ec1 | |||
| b330950251 | |||
| fff2a34618 | |||
| a2d44d2642 | |||
| 3653d7ed11 | |||
| 8668296f9c | |||
| 6bda4a53e0 | |||
| ac6eebe7b9 | |||
| b8cceb5f52 | |||
| 8d2f8a3d96 | |||
| 3c048904ff | |||
| 2fb62cf0a1 | |||
| f6b4ffb149 | |||
| b5811a42b4 | |||
| 75acfe898f | |||
| 68bc663617 | |||
| ac21bcc35c | |||
| 198b047bdd | |||
| 14b8579a62 | |||
| 83c40da2a5 | |||
| 70918ba683 | |||
| 50ab6e292c | |||
| d6c6c4da6e | |||
| a20fa51084 | |||
| 7fdbc1d2b8 | |||
| 047f91832b | |||
| bc1cf4873e | |||
| 96e2f44e28 | |||
| de5ad52415 | |||
| 4a717a8a44 | |||
| b214f606c4 | |||
| 8ab6ffa692 | |||
| d978287af6 | |||
| 24cf5d23b5 | |||
| 17d36cecc9 | |||
| 6b055ee899 | |||
| ff6ed27ba9 | |||
| 4c8e70b9a3 | |||
| b05f234fac | |||
| 0286a4e313 | |||
| d0cd33b2b8 | |||
| adc4b4a641 | |||
| 5fc8368753 | |||
| 86df253842 | |||
| fc8d9f2bf3 | |||
| 4b90bed74e | |||
| adfdec3b9d | |||
| e7a5bd0aad | |||
| d63e29c3bc | |||
| 39b27ab9e3 | |||
| 189a729027 | |||
| 92145e7e37 | |||
| 77060a75a6 | |||
| b102e15569 | |||
| 00a11a6366 | |||
| 97ad1b687f | |||
| a9e040eb10 | |||
| 91371a6c6a | |||
| 041d800518 | |||
| 725d87417b | |||
| f9ca7d62c2 | |||
| f6d9b692be | |||
| ee128a32fd | |||
| e9e27656be | |||
| 46cd140c8b | |||
| 76638c7c32 | |||
| 476a07ae24 | |||
| c8cfc15e3c | |||
| 625ef4548b | |||
| fa00718c23 | |||
| f809a50be8 | |||
| d1f1230ef5 | |||
| 6d49383093 | |||
| c6df59969b | |||
| 295bb8fa86 | |||
| dce4086d64 | |||
| 161973b962 | |||
| 18ed94f788 | |||
| 62910898dd | |||
| 70cf68ab3d | |||
| 3386567d99 | |||
| 02eb4a6fa3 | |||
| 38df1ae742 | |||
| eb8629d077 | |||
| 88babaf60a | |||
| ba2cdde66e | |||
| 2ce34d6d4c | |||
| 5c40496cf3 | |||
| ac66048b8b | |||
| 876339b885 | |||
| 23b0c89b8a | |||
| faad5ea273 | |||
| 8f3a53c24c | |||
| aae8062f15 | |||
| 3a81bd5103 | |||
| 7cf8dc254e | |||
| a6a29467a3 | |||
| 77e40f32f0 | |||
| 10281ccc1f | |||
| 052d8a70e9 | |||
| 6359c26b5b | |||
| 03d4f084c7 | |||
| f231871cb0 | |||
| 41102edf67 | |||
| 712012678f | |||
| ba6132c4b4 | |||
| e69571dcf3 | |||
| 40ff33d4a7 | |||
| 9a451bbf3f | |||
| 43ee740ef7 | |||
| 6db02838c3 | |||
| 90cd7cb23a | |||
| 78e6cb30b6 | |||
| 9bb3576f6d | |||
| f4dec2ece6 | |||
| 7b1f384982 | |||
| 202ace41a5 | |||
| 53bbbe3eca | |||
| 00085edd33 | |||
| f24d66f965 | |||
| 3c6d2094ab | |||
| 3c7a884120 | |||
| af102ca1c5 | |||
| 526aadfd82 | |||
| 4619f8a584 | |||
| cbecc2a49a | |||
| 929bf9de50 | |||
| 8ce1e811d5 | |||
| 0cbc401f7d | |||
| 743e95bca8 | |||
| 3928b5c852 | |||
| a980d1e9f1 | |||
| 0bfd6d7e8e | |||
| 365227a049 | |||
| 364daff4c7 | |||
| d578a546c3 | |||
| 0fe43a9321 | |||
| 3bf7fb24eb | |||
| 4603f61661 | |||
| 51e3396759 | |||
| 4d3f6bc82c | |||
| 791435b088 | |||
| 547ebe4fb6 | |||
| e24034a107 | |||
| b9f841094f | |||
| 3144de83c9 | |||
| b56cc96f32 | |||
| da62ad5bcd | |||
| 2b395e07b8 | |||
| 29013240ef | |||
| 7541343022 | |||
| f7773a1dc9 | |||
| 7ca6f83752 | |||
| 31cbf6f653 | |||
| dcedf9a4a7 | |||
| 399c95ccc8 | |||
| e4dbc896df | |||
| 36faeb247a | |||
| 37305f69fe | |||
| 900a05bca6 | |||
| 48d058dc78 | |||
| 8030e96e54 | |||
| 6687ff2fd9 | |||
| cc7abc59fc | |||
| bc871e2b8e | |||
| 7925da828e | |||
| fffb9f2656 | |||
| 1ad7b8c329 | |||
| 3687224ce0 | |||
| 546cd7e2e2 | |||
| 3d646ecd4e | |||
| e098c7f1f7 | |||
| 1f0bda27f6 | |||
| dda6d49388 | |||
| 74bcc8b576 | |||
| a7f3c5974b | |||
| cd4e3043e5 | |||
| f01eb07375 | |||
| e4e54729ac | |||
| 0a9ff5f3aa | |||
| 9479e27abe | |||
| 39a73f4e7f | |||
| cc2ffc38a8 | |||
| 5d5afd8b08 | |||
| 524380cd12 | |||
| 2480b45c82 | |||
| e0af0177cd | |||
| bcfd92d388 | |||
| d78d65628a | |||
| 15df652804 | |||
| f2422f1f7c | |||
| c4e7ace300 | |||
| 2db040dd84 | |||
| 79e320d701 | |||
| 2110292f32 | |||
| 1075c331fa | |||
| c95cdb13bc | |||
| d62f1cbfed | |||
| 1effc84eb9 | |||
| 08e2c4f071 | |||
| 24c8686861 | |||
| c9e5551172 | |||
| 6ac8df583a | |||
| 0cdfc8bc4c | |||
| 45bf29e0f8 | |||
| 1fe8dc99fc | |||
| a8e34e566d | |||
| 316d99c862 | |||
| 11d728a42e | |||
| 211754d606 | |||
| de165b9a68 | |||
| 55759110ec | |||
| e7ce85c6d2 | |||
| 83d4247b8c | |||
| 281eeb5fd8 | |||
| 4ca046a729 | |||
| 46621a85d4 | |||
| 2cb1bad660 | |||
| a93c893dc1 | |||
| b6e8718335 | |||
| 30f395761a | |||
| 63e8241e64 | |||
| 2dd876c082 | |||
| 34a0c7bce2 | |||
| 3b9a9e02bc | |||
| a624fee2c2 | |||
| 864767221d | |||
| fbcecfb139 | |||
| fd2befe7a7 | |||
| aa8feb79d0 | |||
| 233ed49b23 | |||
| 0b846eee52 | |||
| 7e3be9eb68 | |||
| 7d8e7b6d65 | |||
| 138ddcbeed | |||
| 312310de60 | |||
| b87d6e69fc | |||
| 9b42120c8f | |||
| 506ed1ee98 | |||
| 599e59059b | |||
| b20d1bc09c | |||
| e0f8dede06 | |||
| 36bd5a0ec1 | |||
| 7a71cf188a | |||
| d8c5581566 | |||
| 7d8e53aaab | |||
| 9e5b31fe2a | |||
| ef0fe57328 | |||
| acbbcbcb00 | |||
| b385387797 | |||
| dda6672d48 | |||
| 689765da1b | |||
| 43d16fc87a | |||
| 299f68cda6 | |||
| 4231194a37 | |||
| b5467b02ad | |||
| ad39b37b98 | |||
| ec8e97c262 | |||
| 67987cc916 | |||
| ff54af4e9b | |||
| 9cc08cee0f | |||
| 84b681eb2b | |||
| 795842b71c | |||
| c4340a7577 | |||
| e833c5b325 | |||
| 33e3a0083e | |||
| 9d7d9e8177 | |||
| 6c83a991ea | |||
| 3e1310ba79 | |||
| 7d8ed6fd70 | |||
| ea84b18aee | |||
| f4124b91bc | |||
| 0824066c59 | |||
| 74d3bf4856 | |||
| 954771ccba | |||
| ebe76319b8 | |||
| a3cd80796b | |||
| 5f5543da31 | |||
| a5a44ececd | |||
| ac84092e75 | |||
| 7b81653895 | |||
| ee49b9874d | |||
| 070d17e4e4 | |||
| b93d39f701 | |||
| 660b9b38d4 | |||
| 853ad14a1a | |||
| cdff29e474 | |||
| c495ed43f8 | |||
| 94fa64077b | |||
| faf8834484 | |||
| 591c1d32cd | |||
| 7c048482bf | |||
| f094ae4135 | |||
| 8054540afe | |||
| 5b39974bfb | |||
| a8be139cbc | |||
| b79e1bfee4 | |||
| 8c08635d30 | |||
| 1eeb19748b | |||
| fb1a0be846 | |||
| 022653331f | |||
| 5f025587a0 | |||
| e381e6b739 | |||
| 682650b0b2 | |||
| 3d70f9ed4f | |||
| c717d1121d | |||
| 96771a07b0 | |||
| 28b7e01123 | |||
| d436630f5b | |||
| ff716f3d45 | |||
| 26a255b384 | |||
| 998b72324d | |||
| b469c237b5 | |||
| 404b42d0a6 | |||
| 559a5e6e58 | |||
| 16e709a682 | |||
| 67b5ee0931 | |||
| 8708da2627 | |||
| 6f06345634 | |||
| 904aef5551 | |||
| 2a6655e176 | |||
| 8505b0eff4 | |||
| dc1bb7eb87 | |||
| 96f6c46949 | |||
| 31750a7503 | |||
| 31193039e2 | |||
| f8939d689f | |||
| d060cacfa2 | |||
| 144e548456 | |||
| 283f9dbe7a | |||
| ffbeac03f9 | |||
| c8ec1a756a | |||
| 38f8682633 | |||
| 79442a1f2a | |||
| 164ee520a9 | |||
| ab522431db | |||
| 33f749c96e | |||
| c97ed2db34 | |||
| ba6976fd67 | |||
| 6923a52213 | |||
| e214769070 | |||
| 8c30258db4 | |||
| 1a08251a81 | |||
| a322cc3495 | |||
| a02b355747 | |||
| d8f65890df | |||
| ce1be10f0e | |||
| 25bcbcbf23 | |||
| 2dc8089852 | |||
| 8740a3a568 | |||
| 55e93745fa | |||
| 69efa47374 | |||
| 561be08211 | |||
| b2cefc460d | |||
| fe2660b468 | |||
| b656377e6d | |||
| f8f4cd76cc | |||
| 5eaf2e6387 | |||
| bb9d737ba1 | |||
| 3f0dca6387 | |||
| 2b2b920c80 | |||
| 988dc11275 | |||
| 69d9a3f949 | |||
| f0d6a43d3d | |||
| af30700b14 | |||
| 16e01ceaa9 | |||
| 24579fff32 | |||
| 93163b28d0 | |||
| 0252e491d5 | |||
| 6429707f70 | |||
| c17bcb1303 | |||
| 478829510e | |||
| 6e83baf1df | |||
| 681c71766f | |||
| 3927a2ed8b | |||
| 4211defb4a | |||
| e5a1a9d35a | |||
| b9c24f8a92 | |||
| afd5249563 | |||
| 83351faebc | |||
| 952a9a4a80 | |||
| 67ddda714d | |||
| 172503b408 | |||
| f4a21d3b6b | |||
| a84b84bf1b | |||
| 8ff52568db | |||
| c36bdb4e34 | |||
| 63bf0aaeb6 | |||
| 681d22226a | |||
| fc8984ae7c | |||
| d85309a76c | |||
| 49ca698b3e | |||
| 0c95c95793 | |||
| 2455b5fe39 | |||
| 104595d37d | |||
| ed5313d729 | |||
| cdc507d9bb | |||
| 73e27458da | |||
| f7f143a2b9 | |||
| cda05c914c | |||
| e3a783fd46 | |||
| cad83384f3 | |||
| fb388774ea | |||
| 6dafd51fa9 | |||
| 8d47560151 | |||
| f09ccebbe5 | |||
| 9df1166de1 | |||
| e8811c0d36 | |||
| efae18742e | |||
| 1007c822d6 | |||
| 36cd5a55cf | |||
| 5bc02545ca | |||
| ac6586a207 | |||
| 8236f158d8 | |||
| 9e9e4dd7f7 | |||
| a4390f5478 | |||
| a0faa374cc | |||
| 0b86312714 | |||
| cd5ee548f6 | |||
| 8d4953ad8f | |||
| 8d09cafc33 | |||
| 1c656b1cb7 | |||
| 16295d4121 | |||
| bff245daef | |||
| 82b31d50e5 | |||
| a1b0c2ff32 | |||
| 55fb508346 | |||
| 0c918ba5d0 | |||
| 773ca081f1 | |||
| dc4628767c | |||
| 07eea2e3a6 | |||
| 3ffd435526 | |||
| fc6e6a55ea | |||
| 68f6c82eb1 | |||
| 557fee3dc6 | |||
| 4686f27f64 | |||
| 0bc5699b59 | |||
| fa99f792e3 | |||
| 03a28be4ca | |||
| f82012b68a | |||
| baa960e1de | |||
| 0865468918 | |||
| e757e4f7e7 | |||
| e701f75c25 | |||
| de66ab3d1a | |||
| 368ba7a37e | |||
| 0432ecdb88 | |||
| 1b1eaa5def | |||
| 04807fddd7 | |||
| 321b159f27 | |||
| a981753d2c | |||
| 781d007321 | |||
| e31cac568e | |||
| 3c999f563e | |||
| 271cdcb19e | |||
| 9f9886691b | |||
| 2221820d79 | |||
| 28e8d5e822 | |||
| 171e652047 | |||
| b04ea27042 | |||
| 5ee9e11931 | |||
| 4d9ee645ce | |||
| c842f0b8b5 | |||
| a5515527e9 | |||
| 5039e4b0a7 | |||
| 4f3d0149f1 | |||
| 69fec24cbb | |||
| adb44fee55 | |||
| e76488eb10 | |||
| 88b605774d | |||
| 5d2d33b983 | |||
| 2772d1faa8 | |||
| c44ade6961 | |||
| e290de07a9 | |||
| d5c63cf211 | |||
| 2b02b07538 | |||
| 56e6d58291 | |||
| ba7161ac48 | |||
| 52a5cbe7cf | |||
| 9549f29f2a | |||
| 99b077cf80 | |||
| ff93395221 | |||
| e903690e0c | |||
| 9a6dcff1de | |||
| 90a8b54200 | |||
| 5f8f268244 | |||
| bf043fe68f | |||
| f12c4092ab | |||
| 32c40179dc | |||
| 25332ba033 | |||
| 75c698d180 | |||
| b844589cf5 | |||
| cf79125dd6 | |||
| 2ae238e3db | |||
| 4ffc6c2882 | |||
| 11d89c7608 | |||
| de282ad5ce | |||
| 855f4ef2f6 | |||
| 9602e22c3d | |||
| 0f9eba7d96 | |||
| a097804cbd | |||
| 3c2e27cfc2 | |||
| 6eb2cd3152 | |||
| 02a2376376 | |||
| 9f29693df3 | |||
| 7028da17b5 | |||
| 603c294d47 | |||
| 5730aae4c9 | |||
| 874309b947 | |||
| 57f2bf74a6 | |||
| 21e00b6d76 | |||
| d30cb78533 | |||
| a50727b596 | |||
| cf14ebf7ea | |||
| 18964c2e5f | |||
| 5e791f55a0 | |||
| c33e247d93 | |||
| 880c8ccbfd | |||
| 1160e04afe | |||
| 2587864b52 | |||
| 90ad845396 | |||
| 2e35941efc | |||
| 1d83e15e3f | |||
| 34172c851c | |||
| 241f85569c | |||
| 71088bfb94 | |||
| 01c140be28 | |||
| a9c4bcb5d6 | |||
| 0b40519f3f | |||
| 1cbd5cc994 | |||
| 3414c042b6 | |||
| 436d04fe3e | |||
| c961f8f6b5 | |||
| f99940ff19 | |||
| 2e1a887c4c | |||
| 67aa3c4c32 | |||
| baa6d89328 | |||
| f991d89ec2 | |||
| af61ca6698 | |||
| 4019cc3466 | |||
| 1a1ce36f93 | |||
| eba0a6a6f8 | |||
| e0a8cd8f87 | |||
| b7680920de | |||
| dab1ed770c | |||
| a799e00606 | |||
| 38ae615edf | |||
| d9ed75d954 | |||
| 2b6ec41963 | |||
| 23d28268ff | |||
| cbcebb6d0c | |||
| e16f1939ea | |||
| 4e8574e91d | |||
| 8df79bef53 | |||
| bf45030595 | |||
| ee8a525c07 | |||
| 122ea86ba5 | |||
| 193e69ad6d | |||
| baf26a3dc3 | |||
| 6bef300102 | |||
| 90533ea4ed | |||
| 1c870cc89a | |||
| 9ce4111cee | |||
| 88aefc28e8 | |||
| 9faa7fc57f | |||
| 7ad0c7f7f2 | |||
| 8f3cf6156b | |||
| 8548d72492 | |||
| d65349f1f9 | |||
| 8018f2640d | |||
| dc54f67d03 | |||
| 917b95f726 | |||
| 102fe30a76 | |||
| 2e4d2dff03 | |||
| 5e63d3ded9 | |||
| e6b7bb18b9 | |||
| 8068150c64 | |||
| 70e5b9fec3 | |||
| 272c89b007 | |||
| 123e9d210d | |||
| 1d81fd66b8 | |||
| 48641c2b93 | |||
| 53c2058e0c | |||
| b40b50a30c | |||
| ee517cf184 | |||
| 5d2a889a80 | |||
| 20d3ebca86 | |||
| 5162f4e578 | |||
| 269a4a5585 | |||
| 0865c8ae64 | |||
| d2f9ab6a11 | |||
| 13da3dd830 | |||
| cd0b26a69c | |||
| 4046b001b5 | |||
| ee607d36a9 | |||
| 1f4ab25d9a | |||
| 9c57ae56ad | |||
| 9a3f0bc25a | |||
| 36fa72488c | |||
| 3d4c5eda21 | |||
| de7bab2f4a | |||
| c84fe5fa3d | |||
| 26f93eef96 | |||
| 1414f986dc | |||
| 6ce8dcdfc4 | |||
| 3147691013 | |||
| a582da50b8 | |||
| 1fbdc7c1dd | |||
| de3da81293 | |||
| 2e33aba01e | |||
| f41c1a9696 | |||
| 103260872c | |||
| 1e2df1054c | |||
| 424d68085e | |||
| dcdb664709 | |||
| 4ae2692fe2 | |||
| 4bbc7ea786 | |||
| 8ef330d19a | |||
| 1899987e89 | |||
| 74a5a066c9 | |||
| cd5aa8975e | |||
| 0024d1b0c4 | |||
| 527c814ddc | |||
| 3dfb202380 | |||
| de9e7cc942 | |||
| 97f375296b | |||
| b40c1f16b5 | |||
| 3c049e44f1 | |||
| d5db3ff588 | |||
| 1f63d6a103 | |||
| 4a0ea3c0ec | |||
| e6658ed3f3 | |||
| c2ada8eacd | |||
| 2ca81da42f | |||
| 23b30518b9 | |||
| c6c55cb6c3 | |||
| 9d419b8a40 | |||
| 61a6fbe6d2 | |||
| c2ab3f02cd | |||
| 039e972a4b | |||
| db4f47cf28 | |||
| ee154d9203 | |||
| 0576524144 | |||
| 4c188ec0f5 | |||
| e267eac7bb | |||
| e45a3674f0 | |||
| c28f95d9f5 | |||
| 6cc1524a0d | |||
| 98af9aabd9 | |||
| 78fea67043 | |||
| d4987d088f | |||
| 6e8b60589f | |||
| 6c51cdd663 | |||
| fa89e3b951 | |||
| d3ef6905ff | |||
| 08fcd58e9d | |||
| 6b9a3bf93c | |||
| b7ac2807fe | |||
| 65879dfe63 | |||
| 2b04db09e3 | |||
| d034c0083c | |||
| f6fdad4d07 | |||
| 1fcfbcf1ab | |||
| 3b3e4fd4ce | |||
| 806ad88c5a | |||
| b298e63bcc | |||
| b13f1562a3 | |||
| 6b6bde1bab | |||
| 1885036139 | |||
| 111c0496b4 | |||
| 64c760f537 | |||
| 4394862794 | |||
| 7bac2a610a | |||
| acf18c193c | |||
| d37519e3e3 | |||
| 4418502964 | |||
| 2cc80b6131 | |||
| 8ba4cd1058 | |||
| 5a39efa771 | |||
| d48d014eb9 | |||
| 2b08754c17 | |||
| d7e5534d51 | |||
| b9767f0036 | |||
| f8327a009b | |||
| 4c2e36b645 | |||
| 841dfeadbe | |||
| da41c0071b | |||
| 3f1216a58d | |||
| 5e3ce0331e | |||
| 548f63fd0e | |||
| 8272abf5ae | |||
| 4aa91d62e2 | |||
| a91f9e9812 | |||
| a077a6d1af | |||
| 97ebbf27c2 | |||
| 4249ddf648 | |||
| 068073656e | |||
| 473c86626d | |||
| e92d1018be | |||
| 024ce84da3 | |||
| c93ff200ca | |||
| cc0fb2a5a9 | |||
| 0c33d00bfd | |||
| 50a10a2020 | |||
| 9bfd118f37 | |||
| 9c60b4190c | |||
| 0790e3c920 | |||
| 24a9ab73a7 | |||
| 56c6e3f0f6 | |||
| d940fd3447 | |||
| a7c8a4677f | |||
| fa32af7025 | |||
| dc79a93dde | |||
| 1cb114e256 | |||
| 3d09e6543a | |||
| 2c74bcddd4 | |||
| 49b3fbab58 | |||
| 07d1abb387 | |||
| 7e781bcfd0 | |||
| c74ea1d999 | |||
| 883a726d52 | |||
| c6b3949704 | |||
| be5e93ddfe | |||
| c9b29dc63b | |||
| 63f085dd78 | |||
| dc15e8f077 | |||
| 348ae51772 | |||
| 101fac6c12 | |||
| 4627ad5856 | |||
| 35b92641de | |||
| 3416a26d7f | |||
| 96ed5404a2 | |||
| d990fb15fa | |||
| 860ad6b913 | |||
| 545bed8b15 | |||
| 0914829958 | |||
| ae49612447 | |||
| 062fd6735b | |||
| dc4fa6e804 | |||
| c4fc02cbcf | |||
| 74a399e6b1 | |||
| b54661c09a | |||
| 0ff2c72abc | |||
| 5f63a7764b | |||
| d7d4489da1 | |||
| 097f73afcb | |||
| 56cd699183 | |||
| f469c9a2c6 | |||
| 1a952af89c | |||
| 41ca2b3b6c | |||
| d2efdc4080 | |||
| c4426c28e6 | |||
| c4c30fba9d | |||
| 57ee12df60 | |||
| 3652cee94a | |||
| c75fc99cf6 | |||
| ebf84ff152 | |||
| b8b1c6afe2 | |||
| 559d480457 | |||
| 664b2da2ee | |||
| 1574d0bd43 | |||
| c4ae92cf3c | |||
| 4a8653b1c6 | |||
| 34aaeff312 | |||
| 028d76f000 | |||
| 324a30831a | |||
| bf7f0a69ed | |||
| ee56fc92d5 | |||
| c559544cdf | |||
| 97ef1bb622 | |||
| 1b6d14a8df | |||
| a605b6ea73 | |||
| d101111f64 | |||
| 8130b57945 | |||
| 135ede46fe | |||
| 5fa725c188 | |||
| 0a7074cd10 | |||
| 8657632d1f | |||
| 6920a618db | |||
| ce7f288110 | |||
| 57ff80fb07 | |||
| 63200c00e5 | |||
| ec0e9d1d91 | |||
| 0c71bc9f93 | |||
| 5f63f9f23f | |||
| 9ea0cf5a30 | |||
| f0252c80c2 | |||
| bd4f48c95f | |||
| e5dc8bfffa | |||
| 2f6fe25971 | |||
| a790510d8e | |||
| 7a27e0e85a | |||
| f379e61255 | |||
| 3887161f4c | |||
| 527b3b35ed | |||
| 6442ac83dc | |||
| ce9e5d9553 | |||
| 0f8566ef0a | |||
| 1bd2463d90 | |||
| 6014fce390 | |||
| 42efa3f728 | |||
| ab1520b872 | |||
| 88729418b7 | |||
| 10dee3f420 | |||
| 1314210a4c | |||
| 43bf3bc0cb | |||
| 082926c7d2 | |||
| 2bef80dcc4 | |||
| 05c26826ca | |||
| fafb194883 | |||
| efdef0f636 | |||
| 3f2cfa0a7f | |||
| fd5f1fae3e | |||
| 55db1feb2b | |||
| 13cbc0c250 | |||
| 87ee06b930 | |||
| 090211b632 | |||
| 8f1c6f77c0 | |||
| c5d5897457 | |||
| cd02be6fca | |||
| b20a992579 | |||
| 5da2280cd6 | |||
| fb0fc49a30 | |||
| b24e95b7c1 | |||
| fae0de5858 | |||
| 64fee7817b | |||
| ec16d82c96 | |||
| 70c190f5dc | |||
| 60a0dff12d | |||
| 8e4dd8ca84 | |||
| 9e7f406bd9 | |||
| f91cb2ab7d | |||
| 36a82c690d | |||
| a59e87976f | |||
| e3f578ee89 | |||
| c0014cbd3e | |||
| 548511ac30 | |||
| c8c10c117b | |||
| 3c3239ae29 | |||
| 8faf50ec04 | |||
| 0fcb378f02 | |||
| 2f18182b6d | |||
| 15685136e7 | |||
| c6c4a06778 | |||
| 1051f10498 | |||
| f90cd4a56d | |||
| f3ac51d9b7 | |||
| be96fcc62d | |||
| 2410e53238 | |||
| 184a566da3 | |||
| 1e844d4f53 | |||
| 1e37612a27 | |||
| 9975c75888 | |||
| f571c14487 | |||
| 7cb8520a84 | |||
| 0f8eca3c1c | |||
| 79e290ffb5 | |||
| 6c4e4b35af | |||
| a8daaf4a45 | |||
| 617dfa0639 | |||
| 41b278a05b | |||
| 75a6c68185 | |||
| c4fd48fb32 | |||
| 8f19b46d26 | |||
| 5ea211489a | |||
| cb13376746 | |||
| b77b77c0de | |||
| 833c2c601e | |||
| f0e6b69690 | |||
| d6d26b6a89 | |||
| a91d9c5d13 | |||
| a5e85fd297 | |||
| 830932db4e | |||
| 556f5dc8f7 | |||
| 7d7a02e00a | |||
| c3e64d2861 | |||
| e143e3f290 | |||
| 0b37a92596 | |||
| ed0c22cf56 | |||
| 83dd39b4ce | |||
| 08910e71e4 | |||
| 05bee3aa1f | |||
| 1a4b2cb73d | |||
| 7c316ba01e | |||
| 71a27731b2 | |||
| 01ecf98596 | |||
| d871555fef | |||
| 51ad2b023b | |||
| 9c628b8700 | |||
| 8700597c8c | |||
| 334697fcd0 | |||
| 8cd1cab685 | |||
| e80b5678cc | |||
| 8b4a2895ab | |||
| 5d65ad7994 | |||
| bf5589e2d6 | |||
| 9ec4d83682 | |||
| 9f7ac42217 | |||
| 1b78a99dd1 | |||
| 4641fafa02 | |||
| a3d864e59d | |||
| b3d11842f4 | |||
| 79c9e2d872 | |||
| 32cb111721 | |||
| 60a49ede57 | |||
| 13bce09608 | |||
| aaa200f015 | |||
| 57a8fddba0 | |||
| 23f58f1afc | |||
| def225caa9 | |||
| 15d2f9bb73 | |||
| d02d0da7de | |||
| fc47266829 | |||
| e49a5af3ae | |||
| 27e80d0c69 | |||
| 211a24507c | |||
| 37b9fedaf8 | |||
| 93eb05b1b5 | |||
| 22b0fe9df7 | |||
| 76cb5f033c | |||
| b643d03319 | |||
| 6ae0aa0659 | |||
| bf11a5f239 | |||
| 428e9ea5ed | |||
| c3954c2e1d | |||
| 2d8ebcf005 | |||
| 0bafa26b26 | |||
| 5fd8bd0c21 | |||
| e1ae500e8d | |||
| 1035a032fc | |||
| f0964a9c05 | |||
| 6b6a0569be | |||
| ea5617ee01 | |||
| 79a4aa3ef4 | |||
| bf03c7bcb1 | |||
| 39e82c79f6 | |||
| 7c586b6c1a | |||
| cffa76b0cc | |||
| 7df7667774 | |||
| ec6eaa509d | |||
| 4805927170 | |||
| dccb86a5db | |||
| 78b7510ee1 | |||
| 4a80564783 | |||
| 3cb6890bcc | |||
| 717abd0cf3 | |||
| d4354af79b | |||
| 63cefaf4a6 | |||
| 8d7622b4a9 | |||
| bfef80f9c0 | |||
| 8a31a6c5b4 | |||
| 60a57107cf | |||
| 61b1a15524 | |||
| 03c3539dbf | |||
| 9e901dbc59 | |||
| d75be15f64 | |||
| f7a7d2bade | |||
| 14c7349e2e | |||
| 1d63ed717a | |||
| 9926105643 | |||
| 858f4cb85b | |||
| d531e98eac | |||
| ce4503ae40 | |||
| 6f7e06fa49 | |||
| ed25902e12 | |||
| 2e70d9c75f | |||
| 8e2c682a3d | |||
| d38fabf264 | |||
| baed57f01a | |||
| 2c982e0c45 | |||
| 262d7c0cd0 | |||
| 2760dabb3c | |||
| 009b18a553 | |||
| b8fca77c5a | |||
| 3b02ff2a94 | |||
| b54f0353b0 | |||
| 73d597710f | |||
| 064a261cc2 | |||
| a6e9eec5ad | |||
| c96d72bd67 | |||
| 6781a8167f | |||
| 1a71777f5f | |||
| 0ea75683f1 | |||
| 8b0b3df76c | |||
| 1a3996783e | |||
| 0c90118cb3 | |||
| 3895c9a492 | |||
| 1aa8601e07 | |||
| 432daa95c5 | |||
| 6476cf4c6b | |||
| fbf96728b8 | |||
| 24a21ce83f | |||
| c7879c28fe | |||
| be28744829 | |||
| 7512fb5628 | |||
| 468946bcde | |||
| d1588052ff | |||
| db902b4622 | |||
| 0425c7f3c8 | |||
| 4b089f9667 | |||
| 7c010ab9a4 | |||
| d15c7d0673 | |||
| 865f83b574 | |||
| ddf881a1db | |||
| ba99fff1d9 | |||
| 13a4f84145 | |||
| 934603b604 | |||
| e0ef642d24 | |||
| f9212edc6d | |||
| e74a18f09c | |||
| 0c4c04156c | |||
| 78f054f09f | |||
| 0511284f08 | |||
| 7edfe0f26e | |||
| ab478f947c | |||
| c3f0513cca | |||
| bd442192fb | |||
| 75ba527311 | |||
| 1bf9da8a2a | |||
| e4cea7f3ca | |||
| 9fb122008b | |||
| ab3ec6cc73 | |||
| 71dd8934a7 | |||
| c801808bed | |||
| 8e8d0d0cba | |||
| 25bd2d2ab1 | |||
| ec22a90789 | |||
| 4682b4fd25 | |||
| 2ef1d2f363 | |||
| 253b3a5233 | |||
| fa484c65d3 | |||
| 5ac8431a17 | |||
| c574fb2760 | |||
| 964ede3f4c | |||
| eb88c9045c | |||
| 6a2ac85d59 | |||
| 5f66ca215a | |||
| 366af6d778 | |||
| faf6e52000 | |||
| c84077ba44 | |||
| c20994358c | |||
| 24452df93e | |||
| 50724bbe50 | |||
| 103371f571 | |||
| bf671db126 | |||
| f06132d3e8 | |||
| c997755ad1 | |||
| ae4a97d3d2 | |||
| 243fd83d96 | |||
| c5a9fc5a0f | |||
| 23089bea99 | |||
| eb1acda987 | |||
| 0c6ed4db13 | |||
| d47f298537 | |||
| a4bb93d559 | |||
| 5f37a30230 | |||
| 16e70d9719 | |||
| 545ec31adf | |||
| fa6bb2183c | |||
| 59c67f4b7c | |||
| fab0b40614 | |||
| 830d521e93 | |||
| 458a4be12f | |||
| 1e497ebd8e | |||
| 2e8a919627 | |||
| 4dea888fda | |||
| f5fe86a39b | |||
| 48aa0ba3d2 | |||
| 2dd0f1f8f6 | |||
| b7f4fe9368 | |||
| 4a1b6601da | |||
| 490b7fc197 | |||
| 4f5e304d64 | |||
| c039bfb011 | |||
| 7a09a5774e | |||
| c4474f1879 | |||
| ed1470e3d2 | |||
| 6e64b4f75d | |||
| ac6ae007b2 | |||
| afdd30b137 | |||
| 09f607c5fc | |||
| a2e1826a9a | |||
| 84c40aa69b | |||
| fa28bf97ea | |||
| 622cb9d2f7 | |||
| 8fd89533a8 | |||
| 46a91630b6 | |||
| 39e3508b3f | |||
| 57b7f3389a | |||
| 2a0c65137f | |||
| 89a7b2a92f | |||
| ea87335842 | |||
| 7f965554b8 | |||
| 4cb93bf669 | |||
| a711474552 | |||
| 891682a412 | |||
| ea0df1e212 | |||
| 753f514d3b | |||
| 0b3f02ec5b | |||
| 9763696216 | |||
| 30476e951d | |||
| 89bee2c83c | |||
| 26d7d74725 | |||
| eefaaa58db | |||
| 4594583613 | |||
| 186df52382 | |||
| de9b157a94 | |||
| 4adae91abe | |||
| 6fe32862ba | |||
| 5103b74bff | |||
| 454d86b20d | |||
| bf51263a2b | |||
| f933570035 | |||
| 1bdda1c472 | |||
| d720ef1d12 | |||
| 49d016e2ae | |||
| e637bfda25 | |||
| 7ec797757b | |||
| 17cca2a1fd | |||
| 2ff14529af | |||
| f425a8a28e | |||
| 15c2b9a28c | |||
| 9b907e3ac4 | |||
| 6656d9c6de | |||
| 420c2d7c03 | |||
| d9314b756e | |||
| 32f089f284 | |||
| b5ffabace2 | |||
| b3fb790d54 | |||
| c360263582 | |||
| 176eb8c66e | |||
| 6597b446cb | |||
| d25b8ed402 | |||
| 8e017399ab | |||
| d9b8d61550 | |||
| a91a544c15 | |||
| 710692718c | |||
| cb4a5ee180 | |||
| 8d4f31f021 | |||
| 7fa81fd2e6 | |||
| 650fed9795 | |||
| 78b72c6d4e | |||
| d4fa4ec21e | |||
| 6de9a32066 | |||
| 5cd5c6ad8c | |||
| 86469bd5de | |||
| a529ba1787 | |||
| bc0a885518 | |||
| fb224b0090 | |||
| 4604bd9456 | |||
| cb12b0eda0 | |||
| fe6c07b24f | |||
| 717a4a50a2 | |||
| 52f4375625 | |||
| fff7c03287 | |||
| 1a2868b534 | |||
| 0dead11c3e | |||
| 271740d0aa | |||
| 9ec568ddfc | |||
| c9f6855fc4 | |||
| d8eed1f922 | |||
| ba9dba4b26 | |||
| 983f2472a8 | |||
| 7ceb9721e3 | |||
| 2fcc354461 | |||
| c32ca39b3e | |||
| ae9305f498 | |||
| a83d0e6121 | |||
| 620768b8a1 | |||
| 5a7bc3376d | |||
| 09e85f7ef1 | |||
| 33c77a5462 | |||
| ddac40afbd | |||
| d1c0c431ba | |||
| 6aeab22842 | |||
| 77a6470107 | |||
| af4e530035 | |||
| 3affc2da9d | |||
| 31cee58df6 | |||
| 68cc427b00 | |||
| 2092afe07f | |||
| 547cc9f36c | |||
| 21cdc9ea4a | |||
| 5941a32f71 | |||
| d34847f755 | |||
| 48f5be7328 | |||
| 900ec439d1 | |||
| 0599879e21 | |||
| 059e4e65dc | |||
| 505488c4f9 | |||
| 8c0b574661 | |||
| 01beecc7a0 | |||
| aa14ed6ba8 | |||
| 5ccb7e7d37 | |||
| 00f36d78e4 | |||
| 371c7e4588 | |||
| a40996016f | |||
| c3d56ca36e | |||
| 4cd563b5c2 | |||
| d671478717 | |||
| 5f7df347f8 | |||
| 13db1e5349 | |||
| 2c78478b5c | |||
| 61db1afe44 | |||
| 1e2b9758cc | |||
| 786054fd22 | |||
| a099eb3caf | |||
| c518744e39 | |||
| 37fb72e508 | |||
| 08b329c9b5 | |||
| 8188705821 | |||
| 18b6544883 | |||
| 7df027c88b | |||
| 8c448e370c | |||
| d8d79c908e | |||
| 74cd8706a0 | |||
| 76b66159b3 | |||
| 2329ac38e8 | |||
| e1247dcb48 | |||
| ce33e2dbe2 | |||
| 05b8004001 | |||
| 40919896e7 | |||
| f13689753c | |||
| 4f3f620720 | |||
| a4ae54f65a | |||
| 33b883acb2 | |||
| 1f121a17c4 | |||
| 7da2d6ebbc | |||
| 77895f959d | |||
| 5d1fa67230 | |||
| dc79d4172d | |||
| ae7bef9978 | |||
| b440dc830b | |||
| 519d02dd00 | |||
| 8958aaae59 | |||
| d8b5b6938d | |||
| 492f5057e2 | |||
| 68f25713d3 | |||
| 3c9e6b038e | |||
| 52443a1b1b | |||
| 10e33d03f8 | |||
| 869b5c8918 | |||
| 6ac274b081 | |||
| 01a26172c2 | |||
| 840c9e8b3c | |||
| c4aaef4033 | |||
| 04a8bf6a29 | |||
| 5b744ae05b | |||
| 3297399542 | |||
| 5326d15ed2 | |||
| c16813f4e8 | |||
| 9551e2bf7d | |||
| 514058a023 | |||
| 4f1c3a9714 | |||
| 72d334d867 | |||
| 18a7bad3bd | |||
| e6727e8062 | |||
| 5293cede21 | |||
| 25b58a1a8c | |||
| 90c6689722 | |||
| c582b069ba | |||
| a29e8725b4 | |||
| 6858146c8a | |||
| 7ed84a6590 | |||
| 4adeb7702d | |||
| 8a7525f620 | |||
| cab320be4b | |||
| d977014992 | |||
| be5ea8391c | |||
| 0bd9f17baf | |||
| f3a514b44b | |||
| 646111495d | |||
| 04a7f566fe | |||
| 1207b56814 | |||
| d96cc9dbd4 | |||
| 50ef6e1747 | |||
| f95117c706 | |||
| 973e0e4bdd | |||
| e0161f4652 | |||
| 0884b353a6 | |||
| 7101d9a89d | |||
| 2400fe64b4 | |||
| 8aba6f1d5a | |||
| f0a91a89ee | |||
| 130c44521f | |||
| 018b41032a | |||
| aa0f6b54d4 | |||
| e48fbc8c82 | |||
| 95e8071e55 | |||
| 09852a1e86 | |||
| 389a00e1aa |
@@ -34,3 +34,7 @@ OpenSCAD_rc.py
|
||||
/\.idea/
|
||||
.tags
|
||||
tags
|
||||
/\.vscode/
|
||||
|
||||
# crowdin file
|
||||
src/Tools/freecad.zip
|
||||
|
||||
+31
-16
@@ -19,12 +19,14 @@
|
||||
##
|
||||
env:
|
||||
global:
|
||||
- FREECAD_RELEASE="0.17"
|
||||
- FREECAD_RELEASE="0.18"
|
||||
- DEPLOY_RELEASE=${DEPLOY_RELEASE:-$FREECAD_RELEASE}
|
||||
- CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
|
||||
- OSX_PORTS_CACHE=${OSX_PORTS_CACHE:-FreeCAD/FreeCAD-ports-cache}
|
||||
- DEPLOY=${DEPLOY:-0}
|
||||
|
||||
matrix:
|
||||
# chunk.io key (if needed, obtain it with Yorik, PrzemoF, Kunda1)
|
||||
secure: MJu0ZU/9Yqut6bUkHoSrXTV/c/WhCLR0KnHKCsnEU081PYoukzH6ngzgKk7/trAH2In080d/ra4B2OmTNl/LAgV6DXKFY9dO1aG8QwcrHgaMPf0pHYUy/OfwQSFYFByQDV2OEMAHcIWc/dtNkzK2QUi44Kn7d0GtSEiN4s816lriWtjg0vmEGAU8MjvcAGss4gKyn05Xm1NUCYPKgpgIHsywLbpE76lv0eOYoosEuKv5Q9Pb4FMQts02+JUlqE8eY4ZZ3nV8iQbgIDdseOSA7Ixn05zWjU/ZRZ74TrYxMnzfUAwQcJe9OcqoESq+pPWQt5HYG66VmeVxQim1gmsiDASH51U/nswKt0Q4bISj3tVk0YZMFV8Ax+SzPvLEmFZJQGfgO1mg7HdNcz9N9G5JHPawrV19DwYIEFbAw8MCSAoIXFOcPQZUWXCbtjm7NO9vCjMrqyVJMDD9L8omvQajHoajuHbOT8KB250gFokeLj3z8yu++Tz+IrZX5inUMrXsARVt/ALXpi8rJPXmoFMpMUjyWmDPqPWlnqUhLtTtEtKpuOWP8ZnWVwkg4QYOUhCy95C1okJSGkG+ylHWncWfY4mS+UBT525laoh+GOhH+sRW+p2xkI21xGFRqg1oHjjgY1yIYF6nnSHPzxMBRYmZwagyXsjkFG5FPMWR2oYk0Yg
|
||||
cache:
|
||||
ccache: true
|
||||
|
||||
@@ -35,6 +37,10 @@ python:
|
||||
|
||||
# Inject osx build into matrix - needed to specify image/dist
|
||||
matrix:
|
||||
allow_failures:
|
||||
- python: 3.7
|
||||
- os: osx
|
||||
fast_finish: true # https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
|
||||
include:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
@@ -57,8 +63,16 @@ matrix:
|
||||
- CMAKE_OPTS="-DBUILD_FEM_NETGEN=ON"
|
||||
- PYTHON_MAJOR_VERSION=3
|
||||
|
||||
- language: python
|
||||
python: 3.7
|
||||
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
|
||||
before_install: true
|
||||
install: python3 -m pip install flake8
|
||||
# fail the build if there are Python syntax errors or undefined names
|
||||
script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
||||
|
||||
# macOS build is failing. See: https://forum.freecadweb.org/viewtopic.php?f=10&t=32272
|
||||
- os: osx
|
||||
osx_image: xcode7.3
|
||||
compiler: clang
|
||||
env:
|
||||
- CMAKE_OPTS="-DBUILD_FEM_NETGEN=ON" QT=Qt5
|
||||
@@ -83,7 +97,8 @@ before_install:
|
||||
|
||||
"linux")
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y doxygen \
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
doxygen \
|
||||
libboost1.55-dev \
|
||||
libboost-filesystem1.55-dev \
|
||||
libboost-program-options1.55-dev \
|
||||
@@ -125,24 +140,24 @@ before_install:
|
||||
swig \
|
||||
libvtk6-dev \
|
||||
libmed-dev \
|
||||
libmedc-dev \
|
||||
libmedc-dev \
|
||||
asciidoc
|
||||
|
||||
#Install Eigen 3.3.3 to reduce compiler warnings
|
||||
curl -L "http://bitbucket.org/eigen/eigen/get/3.3.3.tar.gz" | tar xvz && cd eigen-*
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON ..
|
||||
sudo make -j2 install
|
||||
cd ${TRAVIS_BUILD_DIR}
|
||||
# Make sure dpkg is upgraded for Ubuntu 14.04 (required for eigen3)
|
||||
sudo apt-get install -y dpkg
|
||||
|
||||
#Install ccache to reduce successive build times (use 3.2.5+ to avoid spurious warnings)
|
||||
curl -L "https://codeload.github.com/ccache/ccache/tar.gz/v3.2.5" | tar xvz && cd ccache-*
|
||||
# Use latest Eigen3 package
|
||||
curl -L http://security.ubuntu.com/ubuntu/pool/universe/e/eigen3/libeigen3-dev_3.3.4-4_all.deb -o libeigen3.deb \
|
||||
&& sudo dpkg -i libeigen3.deb
|
||||
|
||||
# Install ccache to reduce successive build times (use newer version to minimize issues)
|
||||
# XXX: ccache <=3.4.3 always builds manuals, requiring asciidoc/xsltproc
|
||||
# XXX: 3.4.4 might have --disable-man (at least its present in their git)
|
||||
sudo apt install -y xsltproc
|
||||
curl -L "https://codeload.github.com/ccache/ccache/tar.gz/v3.4.3" | tar xvz && cd ccache-*
|
||||
./autogen.sh && ./configure CC=gcc && sudo make install
|
||||
cd ${TRAVIS_BUILD_DIR}
|
||||
|
||||
#Patch the system - there is a bug related to invalid location of libs on ubuntu 12.04
|
||||
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/i386-linux-gnu
|
||||
sudo find /usr/lib -name libpq.so -exec ln -s {} /usr/lib/libpq.so ';'
|
||||
export DISPLAY=:99.0
|
||||
sh -e /etc/init.d/xvfb start
|
||||
|
||||
|
||||
+135
-158
@@ -1,17 +1,16 @@
|
||||
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
||||
project(FreeCAD_trunk)
|
||||
|
||||
set(PACKAGE_NAME "FreeCAD")
|
||||
set(PACKAGE_VERSION_NAME "Vulcan")
|
||||
set(PACKAGE_VERSION_MAJOR "0")
|
||||
set(PACKAGE_VERSION_MINOR "17")
|
||||
set(PACKAGE_VERSION_PATCH "10000")
|
||||
set(PACKAGE_VERSION_MINOR "18")
|
||||
set(PACKAGE_VERSION_PATCH "13500")
|
||||
|
||||
set(FREECAD_VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}")
|
||||
set(PACKAGE_VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_PATCH}")
|
||||
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR)
|
||||
|
||||
if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
if(POLICY CMP0020)
|
||||
@@ -19,11 +18,14 @@ if(COMMAND cmake_policy)
|
||||
endif(POLICY CMP0020)
|
||||
# added in cmake 3.0
|
||||
if(POLICY CMP0050)
|
||||
cmake_policy(SET CMP0050 OLD)
|
||||
cmake_policy(SET CMP0050 NEW)
|
||||
endif(POLICY CMP0050)
|
||||
if (POLICY CMP0045)
|
||||
cmake_policy(SET CMP0045 NEW)
|
||||
endif(POLICY CMP0045)
|
||||
if (POLICY CMP0072)
|
||||
cmake_policy(SET CMP0072 OLD)
|
||||
endif(POLICY CMP0072)
|
||||
endif(COMMAND cmake_policy)
|
||||
|
||||
find_program(CCACHE_PROGRAM ccache) #This check should occur before project()
|
||||
@@ -47,14 +49,6 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake")
|
||||
# set(RELEASE_MAIN_OUTPUT_PATH ${CMAKE_BINARY_DIR}/src/Main/Release)
|
||||
#endif(CMAKE_CFG_INTDIR STREQUAL .)
|
||||
|
||||
if(WIN32)
|
||||
set(PLATFORM_CP xcopy /Y /S)
|
||||
set(PLATFORM_MK mkdir)
|
||||
else(WIN32)
|
||||
set(PLATFORM_CP cp)
|
||||
set(PLATFORM_MK mkdir -p)
|
||||
endif(WIN32)
|
||||
|
||||
if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
|
||||
set(CMAKE_COMPILER_IS_CLANGXX TRUE)
|
||||
endif (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
|
||||
@@ -110,9 +104,9 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
|
||||
|
||||
# get linker errors as soon as possible and not at runtime e.g. for modules
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,-undefined,error")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-undefined,error")
|
||||
elseif(UNIX)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
|
||||
endif()
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
|
||||
|
||||
@@ -149,7 +143,7 @@ endif(WIN32)
|
||||
SET(CMAKE_INSTALL_DATADIR 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")
|
||||
# Don't set it without manual adaption of LibDir variable in src/App/FreeCADInit.py
|
||||
# Don't set it without manual adoption of LibDir variable in src/App/FreeCADInit.py
|
||||
SET(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries")
|
||||
|
||||
if(NOT WIN32)
|
||||
@@ -174,14 +168,17 @@ 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 "cmake: ${CMAKE_VERSION}")
|
||||
|
||||
# ==============================================================================
|
||||
# == Win32 is default behaviour use the LibPack copied in Source tree ==========
|
||||
if(MSVC)
|
||||
OPTION(FREECAD_RELEASE_PDB "Create PDB file for Release version." OFF)
|
||||
OPTION(FREECAD_RELEASE_PDB "Create PDB files for Release version." ON)
|
||||
OPTION(FREECAD_RELEASE_SEH "Enable Structured Exception Handling for Release version." ON)
|
||||
OPTION(FREECAD_LIBPACK_USE "Use the LibPack to Build FreeCAD (only Win32 so far)." ON)
|
||||
OPTION(FREECAD_LIBPACK_USEPYSIDE "Use PySide in LibPack rather to PyQt and Swig." ON)
|
||||
set(FREECAD_LIBPACK_DIR ${CMAKE_SOURCE_DIR} CACHE PATH "Directory of the FreeCAD LibPack")
|
||||
OPTION(BUILD_USE_PCH "Activate precompiled headers where it's used." ON)
|
||||
else(MSVC)
|
||||
OPTION(FREECAD_LIBPACK_USE "Use the LibPack to Build FreeCAD (only Win32 so far)." OFF)
|
||||
set(FREECAD_LIBPACK_DIR "" CACHE PATH "Directory of the FreeCAD LibPack")
|
||||
@@ -192,14 +189,14 @@ endif(MSVC)
|
||||
|
||||
# Switch to build FreeCAD with Qt5
|
||||
OPTION(BUILD_QT5 "Build with Qt5." OFF)
|
||||
OPTION(BUILD_QT5_WEBKIT "Build with Qt5." ON)
|
||||
OPTION(BUILD_GUI "Build FreeCAD Gui. Otherwise you have only the command line and the Python import module." ON)
|
||||
OPTION(FREECAD_MAINTAINERS_BUILD "Build FreeCAD for Maintainers, with Docu and 3rd party libs. On Windows the Installer is built." OFF)
|
||||
OPTION(FREECAD_USE_EXTERNAL_ZIPIOS "Use system installed zipios++ instead of the bundled." OFF)
|
||||
OPTION(FREECAD_USE_EXTERNAL_SMESH "Use system installed smesh instead of the bundled." OFF)
|
||||
OPTION(FREECAD_USE_EXTERNAL_KDL "Use system installed orocos-kdl instead of the bundled." OFF)
|
||||
OPTION(FREECAD_USE_FREETYPE "Builds the features using FreeType libs" ON)
|
||||
OPTION(FREECAD_BUILD_DEBIAN "Prepare for a build of a Debian package" OFF)
|
||||
OPTION(BUILD_WITH_CONDA "Set ON if you build freecad with conda" OFF)
|
||||
OPTION(OCCT_CMAKE_FALLBACK "disable usage of occt-config files" OFF)
|
||||
if (WIN32 OR APPLE)
|
||||
OPTION(FREECAD_USE_QT_FILEDIALOG "Use Qt's file dialog instead of the native one." OFF)
|
||||
else()
|
||||
@@ -262,6 +259,7 @@ OPTION(BUILD_JTREADER "Build the FreeCAD jt reader module" OFF)
|
||||
OPTION(BUILD_MATERIAL "Build the FreeCAD material module" ON)
|
||||
OPTION(BUILD_MESH "Build the FreeCAD mesh module" ON)
|
||||
OPTION(BUILD_MESH_PART "Build the FreeCAD mesh part module" ON)
|
||||
OPTION(BUILD_FLAT_MESH "Build the FreeCAD flat mesh module" OFF)
|
||||
OPTION(BUILD_OPENSCAD "Build the FreeCAD openscad module" ON)
|
||||
OPTION(BUILD_PART "Build the FreeCAD part module" ON)
|
||||
OPTION(BUILD_PART_DESIGN "Build the FreeCAD part design module" ON)
|
||||
@@ -343,6 +341,7 @@ REQUIRES_MODS(BUILD_IMPORT BUILD_PART)
|
||||
REQUIRES_MODS(BUILD_INSPECTION BUILD_MESH BUILD_POINTS BUILD_PART)
|
||||
REQUIRES_MODS(BUILD_JTREADER BUILD_MESH)
|
||||
REQUIRES_MODS(BUILD_MESH_PART BUILD_PART BUILD_MESH BUILD_SMESH)
|
||||
REQUIRES_MODS(BUILD_FLAT_MESH BUILD_MESH_PART)
|
||||
REQUIRES_MODS(BUILD_OPENSCAD BUILD_MESH_PART BUILD_DRAFT)
|
||||
REQUIRES_MODS(BUILD_PART_DESIGN BUILD_SKETCHER)
|
||||
REQUIRES_MODS(BUILD_PATH BUILD_PART BUILD_ROBOT)
|
||||
@@ -381,16 +380,6 @@ if(FREECAD_LIBPACK_USE)
|
||||
IF(FREECAD_LIBPACK_CHECKFILE_CLBUNDLER)
|
||||
set(FREECAD_LIBPACK_VERSION "CLbundler" CACHE STRING "Displays if the libpack has been found" FORCE)
|
||||
include(cMake/UseLibPackCLbundler.cmake)
|
||||
ELSEIF(FREECAD_LIBPACK_CHECKFILE6X)
|
||||
set(FREECAD_LIBPACK_VERSION "6.x" CACHE STRING "Displays if the libpack has been found" FORCE)
|
||||
include(cMake/UseLibPack6x.cmake)
|
||||
ELSEIF(FREECAD_LIBPACK_CHECKFILE7X)
|
||||
set(FREECAD_LIBPACK_VERSION "7.x" CACHE STRING "Displays if the libpack has been found" FORCE)
|
||||
include(cMake/UseLibPack7x.cmake)
|
||||
ELSEIF(FREECAD_LIBPACK_CHECKFILE8X)
|
||||
set(FREECAD_LIBPACK_VERSION "8.x" CACHE STRING "Displays if the libpack has been found" FORCE)
|
||||
include(cMake/UseLibPack8x.cmake)
|
||||
set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/tools/swigwin-1.3.40/swig.exe CACHE STRING "Swig" FORCE)
|
||||
ELSEIF(FREECAD_LIBPACK_CHECKFILE9X)
|
||||
set(FREECAD_LIBPACK_VERSION "9.x" CACHE STRING "Displays if the libpack has been found" FORCE)
|
||||
include(cMake/UseLibPack9x.cmake)
|
||||
@@ -448,7 +437,7 @@ if(NOT FREECAD_LIBPACK_USE OR FREECAD_LIBPACK_CHECKFILE_CLBUNDLER)
|
||||
set(Python_ADDITIONAL_VERSIONS "2.7")
|
||||
|
||||
# For building on OS X
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT BUILD_WITH_CONDA)
|
||||
|
||||
# If the user doesn't tell us which package manager they're using
|
||||
if(NOT DEFINED MACPORTS_PREFIX AND NOT DEFINED HOMEBREW_PREFIX)
|
||||
@@ -558,7 +547,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
endif(NOT DEFINED PYTHON_LIBRARY)
|
||||
|
||||
|
||||
endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT BUILD_WITH_CONDA)
|
||||
|
||||
find_package(PythonInterp REQUIRED)
|
||||
set(Python_ADDITIONAL_VERSIONS ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
|
||||
@@ -589,23 +578,39 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
find_package(PCL REQUIRED COMPONENTS common kdtree features surface io filters segmentation sample_consensus)
|
||||
endif(FREECAD_USE_PCL)
|
||||
|
||||
# -------------------------------- PyBind11 -----------------------------
|
||||
# necessary for flat-mesh feature
|
||||
OPTION(FREECAD_USE_PYBIND11 "Use pybind11" OFF)
|
||||
if (FREECAD_USE_PYBIND11)
|
||||
find_package(pybind11 REQUIRED)
|
||||
endif()
|
||||
# -------------------------------- Boost --------------------------------
|
||||
|
||||
SET(_boost_TEST_VERSIONS ${Boost_ADDITIONAL_VERSIONS})
|
||||
|
||||
set (BOOST_COMPONENTS filesystem program_options regex system thread)
|
||||
find_package(Boost ${BOOST_MIN_VERSION}
|
||||
COMPONENTS filesystem program_options regex signals system thread REQUIRED)
|
||||
COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
# Boost.Thread 1.67+ headers reference pthread_condattr_*
|
||||
list(APPEND Boost_LIBRARIES pthread)
|
||||
endif()
|
||||
|
||||
IF(NOT Boost_FOUND)
|
||||
MESSAGE(FATAL_ERROR "========================================\n"
|
||||
"boost not found, install the components:\n"
|
||||
" * filesystem\n"
|
||||
" * program_options\n"
|
||||
" * regex\n"
|
||||
" * signals\n"
|
||||
" * system\n"
|
||||
" * thread\n"
|
||||
"========================================\n")
|
||||
set (NO_BOOST_COMPONENTS)
|
||||
foreach (comp ${BOOST_COMPONENTS})
|
||||
string(TOUPPER ${comp} uppercomp)
|
||||
if (NOT Boost_${uppercomp}_FOUND)
|
||||
list(APPEND NO_BOOST_COMPONENTS ${comp})
|
||||
endif()
|
||||
endforeach()
|
||||
MESSAGE(FATAL_ERROR "=============================================\n"
|
||||
"Required components:\n"
|
||||
" ${BOOST_COMPONENTS}\n"
|
||||
"Not found, install the components:\n"
|
||||
" ${NO_BOOST_COMPONENTS}\n"
|
||||
"=============================================\n")
|
||||
ENDIF(NOT Boost_FOUND)
|
||||
|
||||
# -------------------------------- XercesC --------------------------------
|
||||
@@ -638,6 +643,13 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
|
||||
# Salome SMESH sources are under src/3rdParty now
|
||||
IF(BUILD_SMESH)
|
||||
# set the internal smesh version:
|
||||
# see src/3rdParty/salomonemesh/CMakeLists.txt and commit https://github.com/FreeCAD/FreeCAD/commit/666a3e5 and https://forum.freecadweb.org/viewtopic.php?f=10&t=30838
|
||||
set(SMESH_VERSION_MAJOR 7)
|
||||
set(SMESH_VERSION_MINOR 7)
|
||||
set(SMESH_VERSION_PATCH 1)
|
||||
set(SMESH_VERSION_TWEAK 0)
|
||||
|
||||
#if we use smesh we definitely also need vtk, no matter of external or internal smesh
|
||||
set (VTK_COMPONENTS
|
||||
vtkCommonCore
|
||||
@@ -655,7 +667,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# check which modules are available
|
||||
if(UNIX OR WIN32)
|
||||
find_package(VTK COMPONENTS vtkCommonCore REQUIRED NO_MODULE)
|
||||
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5)
|
||||
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5 vtkFiltersParallelDIY2 vtkRenderingCore vtkInteractionStyle vtkRenderingFreeType vtkRenderingOpenGL2)
|
||||
foreach(_module ${VTK_COMPONENTS})
|
||||
list (FIND VTK_MODULES_ENABLED ${_module} _index)
|
||||
if (${_index} GREATER -1)
|
||||
@@ -664,7 +676,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# don't check VERSION 6 as this would exlude VERSION 7
|
||||
# don't check VERSION 6 as this would exclude VERSION 7
|
||||
if(AVAILABLE_VTK_COMPONENTS)
|
||||
message(STATUS "VTK components: ${AVAILABLE_VTK_COMPONENTS}")
|
||||
find_package(VTK COMPONENTS ${AVAILABLE_VTK_COMPONENTS} REQUIRED NO_MODULE)
|
||||
@@ -690,12 +702,23 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
list(REMOVE_ITEM VTK_LIBRARIES "optimized" "debug")
|
||||
|
||||
if(NOT FREECAD_USE_EXTERNAL_SMESH)
|
||||
find_package(MEDFile REQUIRED)
|
||||
# See https://www.hdfgroup.org/HDF5/release/cmakebuild.html
|
||||
if (WIN32)
|
||||
find_package(HDF5 COMPONENTS NO_MODULE REQUIRED static)
|
||||
else()
|
||||
find_package(PkgConfig)
|
||||
pkg_search_module(HDF5 hdf5-serial)
|
||||
FILE(READ ${meddotH} TMPTXT)
|
||||
STRING(FIND "${TMPTXT}" "#define MED_HAVE_MPI" matchres)
|
||||
if(${matchres} EQUAL -1)
|
||||
message(STATUS "We guess that libmed was built using hdf5-serial version")
|
||||
set(HDF5_VARIANT "hdf5-serial")
|
||||
else()
|
||||
message(STATUS "We guess that libmed was built using hdf5-openmpi version")
|
||||
set(HDF5_VARIANT "hdf5-openmpi")
|
||||
set(HDF5_PREFER_PARALLEL TRUE) # if pkg-config fails, find_package(HDF5) needs this
|
||||
endif()
|
||||
pkg_search_module(HDF5 ${HDF5_VARIANT})
|
||||
if(NOT HDF5_FOUND)
|
||||
find_package(HDF5 REQUIRED)
|
||||
else()
|
||||
@@ -704,7 +727,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
link_libraries(${HDF5_LIBRARIES})
|
||||
find_file(Hdf5dotH hdf5.h PATHS ${HDF5_INCLUDE_DIRS} NO_DEFAULT_PATH)
|
||||
if(NOT Hdf5dotH)
|
||||
message( FATAL_ERROR "hdf5-serial not found in an error message above.")
|
||||
message( FATAL_ERROR "${HDF5_VARIANT} development header not found.")
|
||||
endif()
|
||||
endif()
|
||||
check_include_file_cxx(hdf5.h HDF5_FOUND)
|
||||
@@ -722,10 +745,12 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
message( WARNING "mpi.h was not found. Check for error above.")
|
||||
endif()
|
||||
endif()
|
||||
find_package(MEDFile REQUIRED)
|
||||
set(SMESH_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/salomesmesh/inc)
|
||||
else()
|
||||
find_package(SMESH)
|
||||
|
||||
else(NOT FREECAD_USE_EXTERNAL_SMESH)
|
||||
find_package(SMESH CONFIG)
|
||||
set (SMESH_INCLUDE_DIR ${SMESH_INCLUDE_PATH})
|
||||
SET(EXTERNAL_SMESH_LIBS ${SMESH_LIBRARIES})
|
||||
if(NOT SMESH_FOUND)
|
||||
message(ERROR "================\n"
|
||||
"SMESH not found.\n"
|
||||
@@ -733,7 +758,9 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
endif()
|
||||
include_directories(${SMESH_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
set(SMESH_FOUND TRUE)
|
||||
configure_file(SMESH_Version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/SMESH_Version.h)
|
||||
ENDIF(BUILD_SMESH)
|
||||
|
||||
# -------------------------------- Netgen --------------------------------
|
||||
@@ -766,6 +793,12 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
"=================\n")
|
||||
ENDIF(NOT EIGEN3_FOUND)
|
||||
|
||||
if (${EIGEN3_VERSION} VERSION_LESS "3.3.1")
|
||||
message(WARNING "Disable module flatmesh because it requires "
|
||||
"minimum Eigen3 version 3.3.1 but version ${EIGEN3_VERSION} was found")
|
||||
set (BUILD_FLAT_MESH OFF)
|
||||
endif()
|
||||
|
||||
# -------------------------------- Qt --------------------------------
|
||||
|
||||
if (NOT BUILD_QT5)
|
||||
@@ -838,7 +871,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
find_package(Qt5UiTools)
|
||||
find_package(Qt5Network)
|
||||
find_package(Qt5Concurrent)
|
||||
if (BUILD_QT5_WEBKIT)
|
||||
if (BUILD_WEB)
|
||||
find_package(Qt5WebKitWidgets)
|
||||
endif()
|
||||
endif(BUILD_GUI)
|
||||
@@ -893,7 +926,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
if(OPENGL_GLU_FOUND)
|
||||
find_package_message(OPENGL_GLU
|
||||
"Found OpenGLU: ${OPENGL_glu_LIBRARY}"
|
||||
"[${OPENGL_glu_LIBRARY}][${OEPNGL_INCLUDE_DIR}]")
|
||||
"[${OPENGL_glu_LIBRARY}][${OPENGL_INCLUDE_DIR}]")
|
||||
else(OPENGL_GLU_FOUND)
|
||||
message(FATAL_ERROR "======================\n"
|
||||
"GLU library not found.\n"
|
||||
@@ -927,8 +960,8 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
SET(PYTHON_CONFIG_SUFFIX -python2.7 CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_CONFIG_SUFFIX.cmake>")
|
||||
SET(PYTHON_BASENAME -python2.7 CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: <PySideConfigPYTHON_BASENAME.cmake>")
|
||||
else()
|
||||
SET(PYTHON_CONFIG_SUFFIX "" CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_CONFIG_SUFFIX.cmake>")
|
||||
SET(PYTHON_BASENAME "" CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: <PySideConfigPYTHON_BASENAME.cmake>")
|
||||
#SET(PYTHON_CONFIG_SUFFIX "" CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_CONFIG_SUFFIX.cmake>")
|
||||
#SET(PYTHON_BASENAME "" CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: <PySideConfigPYTHON_BASENAME.cmake>")
|
||||
endif()
|
||||
|
||||
if(DEFINED MACPORTS_PREFIX)
|
||||
@@ -936,21 +969,45 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
find_package(PySide REQUIRED HINTS "${PYTHON_LIBRARY_DIR}/cmake")
|
||||
endif(DEFINED MACPORTS_PREFIX)
|
||||
|
||||
find_package(Shiboken2)# REQUIRED
|
||||
find_package(Shiboken2 QUIET)# REQUIRED
|
||||
if (Shiboken2_FOUND)
|
||||
# Shiboken2 config file was found but it may use the wrong Python version
|
||||
# Try to get the matching config suffix and repeat finding the package
|
||||
if (PYTHON_VERSION_MAJOR LESS 3)
|
||||
set(SHIBOKEN_PATTERN -python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
|
||||
else()
|
||||
set(SHIBOKEN_PATTERN .cpython-${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
|
||||
endif()
|
||||
|
||||
file(GLOB SHIBOKEN_CONFIG "${Shiboken2_DIR}/Shiboken2Config${SHIBOKEN_PATTERN}*.cmake")
|
||||
if (SHIBOKEN_CONFIG)
|
||||
get_filename_component(SHIBOKEN_CONFIG_SUFFIX ${SHIBOKEN_CONFIG} NAME)
|
||||
string(SUBSTRING ${SHIBOKEN_CONFIG_SUFFIX} 15 -1 SHIBOKEN_CONFIG_SUFFIX)
|
||||
string(REPLACE ".cmake" "" PYTHON_CONFIG_SUFFIX ${SHIBOKEN_CONFIG_SUFFIX})
|
||||
MESSAGE(STATUS "PYTHON_CONFIG_SUFFIX: ${PYTHON_CONFIG_SUFFIX}")
|
||||
find_package(Shiboken2 QUIET)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT SHIBOKEN_INCLUDE_DIR)
|
||||
MESSAGE(FATAL_ERROR "====================\n"
|
||||
"shiboken2 not found.\n"
|
||||
"====================\n")
|
||||
MESSAGE("====================\n"
|
||||
"shiboken2 not found.\n"
|
||||
"====================\n")
|
||||
endif(NOT SHIBOKEN_INCLUDE_DIR)
|
||||
|
||||
find_package(PySide2)# REQUIRED
|
||||
find_package(PySide2 QUIET)# REQUIRED
|
||||
if(NOT PYSIDE_INCLUDE_DIR)
|
||||
MESSAGE(FATAL_ERROR "==================\n"
|
||||
"PySide2 not found.\n"
|
||||
"==================\n")
|
||||
MESSAGE("==================\n"
|
||||
"PySide2 not found.\n"
|
||||
"==================\n")
|
||||
endif(NOT PYSIDE_INCLUDE_DIR)
|
||||
|
||||
find_package(PySide2Tools REQUIRED) # PySide2 utilities (pyside2-uic & pyside2-rcc)
|
||||
find_package(PySide2Tools QUIET) #REQUIRED # PySide2 utilities (pyside2-uic & pyside2-rcc)
|
||||
if(NOT PYSIDE2_TOOLS_FOUND)
|
||||
MESSAGE("=======================\n"
|
||||
"PySide2Tools not found.\n"
|
||||
"=======================\n")
|
||||
endif(NOT PYSIDE2_TOOLS_FOUND)
|
||||
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Ext/PySide)
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/Ext/PySide/__init__.py "# PySide wrapper\n"
|
||||
@@ -963,17 +1020,18 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
"from PySide2.QtWidgets import *\n"
|
||||
"QHeaderView.setResizeMode = QHeaderView.setSectionResizeMode\n")
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/Ext/PySide/QtSvg.py "from PySide2.QtSvg import *\n")
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/Ext/PySide/QtUiTools.py "from PySide2.QtUiTools import *\n")
|
||||
|
||||
if(APPLE)
|
||||
if(APPLE AND NOT BUILD_WITH_CONDA)
|
||||
INSTALL(
|
||||
DIRECTORY
|
||||
DIRECTORY
|
||||
${CMAKE_BINARY_DIR}/Ext/PySide
|
||||
DESTINATION
|
||||
MacOS
|
||||
)
|
||||
else()
|
||||
INSTALL(
|
||||
DIRECTORY
|
||||
DIRECTORY
|
||||
${CMAKE_BINARY_DIR}/Ext/PySide
|
||||
DESTINATION
|
||||
Ext
|
||||
@@ -984,10 +1042,10 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# Below are two variables that can be left empty for standard python 3 version,
|
||||
# but must be set by the user for different python versions such as 2.7, 3.5 ...
|
||||
if (PYTHON_VERSION_MAJOR LESS 3)
|
||||
SET(PYTHON_SUFFIX -python2.7 CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_SUFFIX.cmake>")
|
||||
SET(PYTHON_CONFIG_SUFFIX -python2.7 CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_CONFIG_SUFFIX.cmake>")
|
||||
SET(PYTHON_BASENAME -python2.7 CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: <PySideConfigPYTHON_BASENAME.cmake>")
|
||||
else()
|
||||
SET(PYTHON_SUFFIX "" CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_SUFFIX.cmake>")
|
||||
SET(PYTHON_CONFIG_SUFFIX "" CACHE STRING "Shiboken cmake file suffix. If left empty, system default will be used: <ShibokenConfigPYTHON_CONFIG_SUFFIX.cmake>")
|
||||
SET(PYTHON_BASENAME "" CACHE STRING "Same as PYTHON_SUFFIX but for PySide. If left empty, PYTHON_SUFFIX will be used: <PySideConfigPYTHON_BASENAME.cmake>")
|
||||
endif()
|
||||
|
||||
@@ -1073,8 +1131,8 @@ ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
|
||||
IF(MSVC)
|
||||
# set default compiler settings
|
||||
SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /EHa")
|
||||
SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFC_DEBUG /Zm128")
|
||||
SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zm150")
|
||||
SET (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFC_DEBUG /Zm150 /bigobj")
|
||||
# set default libs
|
||||
SET (CMAKE_C_STANDARD_LIBRARIES "kernel32.lib user32.lib gdi32.lib winspool.lib SHFolder.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib winmm.lib comsupp.lib Ws2_32.lib dbghelp.lib ")
|
||||
set (CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}")
|
||||
@@ -1086,6 +1144,9 @@ IF(MSVC)
|
||||
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
|
||||
set (CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG")
|
||||
ENDIF(FREECAD_RELEASE_PDB)
|
||||
IF(FREECAD_RELEASE_SEH)
|
||||
SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /EHa")
|
||||
ENDIF(FREECAD_RELEASE_SEH)
|
||||
|
||||
# Mark 32 bit executables large address aware so they can use > 2GB address space
|
||||
# NOTE: This setting only has an effect on machines with at least 3GB of RAM, although it sets the linker option it doesn't set the linker switch 'Enable Large Addresses'
|
||||
@@ -1124,102 +1185,17 @@ add_subdirectory(data)
|
||||
|
||||
# ================================================================================
|
||||
# == Packaging ===================================================================
|
||||
if(FREECAD_MAINTAINERS_BUILD AND NOT WIN32)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An extensible Open Source CAx program")
|
||||
set(CPACK_PACKAGE_VENDOR "FreeCAD development team")
|
||||
if(WIN32)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.Win32")
|
||||
else(WIN32)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.Linux")
|
||||
endif(WIN32)
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/copying.lib")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${PACKAGE_VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${PACKAGE_VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${PACKAGE_VERSION_PATCH})
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION})
|
||||
|
||||
#for debian: 'cmake .. -DFREECAD_MAINTAINERS_BUILD=TRUE -DCPACK_GENERATOR="DEB"'
|
||||
IF( CMAKE_SIZEOF_VOID_P EQUAL 4 )
|
||||
set(PKG_ARCH i386)
|
||||
ELSE( CMAKE_SIZEOF_VOID_P EQUAL 4 )
|
||||
set(PKG_ARCH amd64)
|
||||
ENDIF( CMAKE_SIZEOF_VOID_P EQUAL 4 )
|
||||
set(CPACK_DEBIAN_PACKAGE_SECTION "science")
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "python, oce | opencascade, libqtgui4, libcoin60, libxerces-c3.1, zlib1g, libboost-dev, libeigen2-dev")
|
||||
set(CPACK_PACKAGE_CONTACT "<root@localhost>")
|
||||
set(CPACK_PACKAGE_FILE_NAME "${PACKAGE_NAME}-${PACKAGE_VERSION}_${PKG_ARCH}")
|
||||
|
||||
if(WIN32)
|
||||
set(CPACK_GENERATOR "ZIP")
|
||||
set(CPACK_SOURCE_GENERATOR "ZIP")
|
||||
else(WIN32)
|
||||
if( CPACK_GENERATOR STREQUAL "" )
|
||||
set(CPACK_GENERATOR "TGZ")
|
||||
set(CPACK_SOURCE_GENERATOR "TGZ")
|
||||
endif()
|
||||
endif(WIN32)
|
||||
file(GLOB DOT ".*")
|
||||
file(GLOB TILD "*~")
|
||||
set(CPACK_SOURCE_IGNORE_FILES
|
||||
"${DOT}"
|
||||
"${TILD}"
|
||||
".a$"
|
||||
".am$"
|
||||
".in$"
|
||||
".bat$"
|
||||
".o$"
|
||||
".so$"
|
||||
".m4$"
|
||||
"/_build/"
|
||||
"/_cmake/"
|
||||
"/.deps/"
|
||||
"/.svn/"
|
||||
"/CMakeFiles/"
|
||||
"/CVS/"
|
||||
"/autom4te.cache/"
|
||||
"/build/"
|
||||
"/debian/"
|
||||
"/debug/"
|
||||
"/docs/"
|
||||
"/m4/"
|
||||
"/qt-build/"
|
||||
"/CxImage/"
|
||||
"/WindowsInstaller/"
|
||||
"AdditionalInfo.txt$"
|
||||
"CMakeCache.txt$"
|
||||
"Makefile$"
|
||||
"\\\\.sh$"
|
||||
"_CPack_"
|
||||
"config.h$"
|
||||
"config.log$"
|
||||
"config.status$"
|
||||
"configure$"
|
||||
"configure.ac$"
|
||||
"Doxyfile"
|
||||
"html$"
|
||||
"stamp-h1$"
|
||||
".swp$"
|
||||
"tar.bz2"
|
||||
"tar.gz"
|
||||
"~$"
|
||||
)
|
||||
set(CPACK_SOURCE_STRIP_FILES "")
|
||||
include(CPack)
|
||||
|
||||
#ADD_CUSTOM_TARGET(DIST make package_source)
|
||||
|
||||
endif(FREECAD_MAINTAINERS_BUILD AND NOT WIN32)
|
||||
#add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
add_custom_target(dist-git
|
||||
#add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
add_custom_target(dist-git
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/Tools/makedist.py
|
||||
--srcdir=${CMAKE_SOURCE_DIR} --bindir=${CMAKE_BINARY_DIR}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
add_custom_target(distdfsg-git
|
||||
)
|
||||
add_custom_target(distdfsg-git
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/Tools/makedist.py
|
||||
--srcdir=${CMAKE_SOURCE_DIR} --bindir=${CMAKE_BINARY_DIR} --dfsg
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
|
||||
add_custom_target(distcheck-git
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/Tools/makedist.py
|
||||
@@ -1233,6 +1209,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
|
||||
)
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
|
||||
|
||||
|
||||
# Print message to start build process
|
||||
if (${CMAKE_BUILD_TOOL} MATCHES "make")
|
||||
MESSAGE("=======================================\n"
|
||||
|
||||
+7
-8
@@ -1,5 +1,4 @@
|
||||
Changelog you find now here:
|
||||
http://www.freecadweb.org/tracker/changelog_page.php
|
||||
Note: Future changelog now located at: http://www.freecadweb.org/tracker/changelog_page.php
|
||||
|
||||
Version: 0.14
|
||||
* Python path messed up after installation
|
||||
@@ -62,7 +61,7 @@ Version: 0.14
|
||||
* Draft Dimensions due not observe Dimension Precision on FreeCAD Windows
|
||||
* invalid DXF export
|
||||
* Port wiki, phpbb and mantis to self-hosted
|
||||
* Crash propably in MeshPart
|
||||
* Crash probably in MeshPart
|
||||
* Part.BSplineCurve: allow to set degree and mutliplicites when calling constructor.
|
||||
* FeaturePython objects should be able to define how POVray output is generated
|
||||
* Losing Snap when Object is getting more complex.
|
||||
@@ -751,7 +750,7 @@ Version: V0.1B78 Date: Sun Nov 23 13:15:15 2003 +++++++++++++++++++++++++++++++
|
||||
|
||||
Version: V0.1B77 Date: Fri Nov 14 14:56:14 2003 +++++++++++++++++++++++++++++++
|
||||
* Finished Setup stuff
|
||||
* Removed all relativ paths
|
||||
* Removed all relative paths
|
||||
* config HomePath is now not in bin anymore
|
||||
* all config files one dir up
|
||||
* FC runs now from every directory
|
||||
@@ -906,7 +905,7 @@ Version: V0.1B50 Date: Fri Apr 04 22:10:24 2003 +++++++++++++++++++++++++++++++
|
||||
* some work on the Linux port
|
||||
|
||||
Version: V0.1B49 Date: Thu Apr 03 22:45:35 2003 +++++++++++++++++++++++++++++++
|
||||
* Master redisign of the window system, not yet full working
|
||||
* Master redesign of the window system, not yet full working
|
||||
|
||||
Version: V0.1B48 Date: Sun Mar 30 15:06:23 2003 +++++++++++++++++++++++++++++++
|
||||
* Big patch from Werner about:
|
||||
@@ -952,10 +951,10 @@ Version: V0.1B39 Date: Mon Mar 03 12:32:14 2003 +++++++++++++++++++++++++++++++
|
||||
|
||||
Version: V0.1B38 Date: Thu Feb 27 22:19:35 2003 +++++++++++++++++++++++++++++++
|
||||
* fix of memory leack in CmdBar (werner)
|
||||
* start rebulding FCCommand framework
|
||||
* start rebuilding FCCommand framework
|
||||
|
||||
Version: V0.1B37 Date: Tue Feb 25 20:29:19 2003 +++++++++++++++++++++++++++++++
|
||||
* massiv improved costomize dialog (werner)
|
||||
* massively improved customize dialog (werner)
|
||||
- sorting position of toolbars
|
||||
|
||||
Version: V0.1B36 Date: Sat Feb 22 18:12:19 2003 +++++++++++++++++++++++++++++++
|
||||
@@ -1013,7 +1012,7 @@ Version: V0.1B26 Date: Tue Jan 21 05:59:01 2003 +++++++++++++++++++++++++++++++
|
||||
|
||||
Version: V0.1B25 Date: Sun Jan 19 18:20:51 2003 +++++++++++++++++++++++++++++++
|
||||
* Big Linux port patch from Vaclav
|
||||
- some fixes on implicite type conversion (Vaclav)
|
||||
- some fixes on implicit type conversion (Vaclav)
|
||||
- moving all .cxx to .cpp mainly in gui
|
||||
- moving DlgCusomizeImpl to Imp
|
||||
- and InitGui to GuiInit
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
NOTE! The LGPL below is copyrighted by the Free Software Foundation, but
|
||||
the instance of code that it refers to (the FreeCAD libraries) are copyrighted
|
||||
by the authors who actually wrote it.
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
@@ -36,11 +36,11 @@ Other options are described at the [wiki Download page](http://www.freecadweb.or
|
||||
Build Status <img src="https://blog.travis-ci.com/images/travis-mascot-200px.png" height="30"/>
|
||||
------------
|
||||
|
||||
| Master | 0.16 | Translation |
|
||||
| Master | 0.17 | Translation |
|
||||
|:------:|:----:|:-----------:|
|
||||
|[![Master][freecad-master-status]][travis-branches]|[![0.16][freecad-0.16-status]][travis-branches]|[](https://crowdin.com/project/freecad)|
|
||||
|[![Master][freecad-master-status]][travis-branches]|[![0.17][freecad-0.17-status]][travis-branches]|[](https://crowdin.com/project/freecad)|
|
||||
|
||||
[freecad-0.16-status]: https://travis-ci.org/FreeCAD/FreeCAD.svg?branch=0.16
|
||||
[freecad-0.17-status]: https://travis-ci.org/FreeCAD/FreeCAD.svg?branch=releases/FreeCAD-0-17
|
||||
[freecad-master-status]: https://travis-ci.org/FreeCAD/FreeCAD.svg?branch=master
|
||||
[travis-branches]: https://travis-ci.org/FreeCAD/FreeCAD/branches
|
||||
[travis-builds]: https://travis-ci.org/FreeCAD/FreeCAD/builds
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
#ifndef SMESH_VERSION_H
|
||||
#define SMESH_VERSION_H
|
||||
|
||||
/* SMESH_Version.h. Generated from SMESH_Version.h.cmake by cmake. */
|
||||
|
||||
// SMESH version
|
||||
#define SMESH_VERSION_MAJOR ${SMESH_VERSION_MAJOR}
|
||||
#define SMESH_VERSION_MINOR ${SMESH_VERSION_MINOR}
|
||||
#define SMESH_VERSION_PATCH ${SMESH_VERSION_PATCH}
|
||||
#define SMESH_VERSION_TWEAK ${SMESH_VERSION_TWEAK}
|
||||
|
||||
#endif // SMESH_VERSION_H
|
||||
@@ -26,14 +26,14 @@ IF (COIN3D_FOUND)
|
||||
)
|
||||
IF( EXISTS ${COIN3D_DOC_PATH})
|
||||
message(STATUS "Coin3D doc is installed")
|
||||
find_file(COIN3D_DOC_TAGFILE coin.tag
|
||||
find_file(COIN3D_DOC_TAGFILE coin.tag Coin.tag
|
||||
${COIN3D_DOC_PATH}
|
||||
)
|
||||
IF( EXISTS ${COIN3D_DOC_TAGFILE})
|
||||
SET( COIN3D_DOC_FOUND "YES"
|
||||
)
|
||||
ELSE( EXISTS ${COIN3D_DOC_TAGFILE})
|
||||
find_file(COIN3D_DOC_TAGFILE_GZ coin.tag.gz
|
||||
find_file(COIN3D_DOC_TAGFILE_GZ coin.tag.gz Coin.tag.gz
|
||||
${COIN3D_DOC_PATH}
|
||||
)
|
||||
IF( EXISTS ${COIN3D_DOC_TAGFILE_GZ})
|
||||
|
||||
@@ -40,7 +40,11 @@ IF(MEDFILE_ROOT_DIR)
|
||||
LIST(APPEND CMAKE_PREFIX_PATH "${MEDFILE_ROOT_DIR}")
|
||||
ENDIF(MEDFILE_ROOT_DIR)
|
||||
|
||||
FIND_PATH(MEDFILE_INCLUDE_DIRS med.h)
|
||||
FIND_PATH(MEDFILE_INCLUDE_DIRS med.h PATH_SUFFIXES med)
|
||||
FIND_FILE(meddotH med.h PATHS ${MEDFILE_INCLUDE_DIRS} NO_DEFAULT_PATH)
|
||||
IF(NOT meddotH)
|
||||
MESSAGE(FATAL_ERROR "med.h not found, please install development header-files for libmedc")
|
||||
ENDIF(NOT meddotH)
|
||||
#FIND_PROGRAM(MDUMP mdump)
|
||||
FIND_LIBRARY(MEDFILE_C_LIBRARIES NAMES medC)
|
||||
FIND_LIBRARY(MEDFILE_F_LIBRARIES NAMES med)
|
||||
|
||||
+137
-142
@@ -1,5 +1,5 @@
|
||||
# Try to find nglib/netgen
|
||||
#
|
||||
#
|
||||
# Optional input NETGENDATA is path to the netgen libsrc source tree - this is
|
||||
# required due to some headers not being installed by netgen.
|
||||
#
|
||||
@@ -12,165 +12,160 @@
|
||||
#
|
||||
# See also: http://git.salome-platform.org/gitweb/?p=NETGENPLUGIN_SRC.git;a=summary
|
||||
|
||||
SET(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
|
||||
|
||||
IF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
|
||||
# We haven't supported Netgen prior to 5.3.1 on MacOS, and the current
|
||||
# plan is for the next Netgen version to be 6.1 (currently unreleased).
|
||||
IF(DEFINED HOMEBREW_PREFIX)
|
||||
SET(NGLIB_PREFIX ${HOMEBREW_PREFIX})
|
||||
ELSE(DEFINED HOMEBREW_PREFIX)
|
||||
SET(NGLIB_PREFIX ${MACPORTS_PREFIX})
|
||||
ENDIF(DEFINED HOMEBREW_PREFIX)
|
||||
find_package(Netgen CONFIG)
|
||||
if(Netgen_FOUND)
|
||||
set(NGLIB_INCLUDE_DIR ${NETGEN_INCLUDE_DIRS})
|
||||
set(NGLIB_LIBRARIES nglib)
|
||||
set(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
|
||||
# for external smesh only the following two variables are needed:
|
||||
set(NETGEN_FOUND True)
|
||||
set(NETGEN_INCLUDE_DIRS ${NETGEN_INCLUDE_DIRS})
|
||||
|
||||
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h ${NGLIB_PREFIX}/include)
|
||||
else(Netgen_FOUND)
|
||||
|
||||
FIND_LIBRARY(NGLIB_LIBNGLIB nglib ${NGLIB_PREFIX}/lib)
|
||||
FIND_LIBRARY(NGLIB_LIBMESH mesh ${NGLIB_PREFIX}/lib)
|
||||
FIND_LIBRARY(NGLIB_LIBOCC occ ${NGLIB_PREFIX}/lib)
|
||||
FIND_LIBRARY(NGLIB_LIBINTERFACE interface ${NGLIB_PREFIX}/lib)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB} ${NGLIB_LIBMESH}
|
||||
${NGLIB_LIBOCC} ${NGLIB_LIBINTERFACE})
|
||||
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA ${NGLIB_PREFIX}/include/netgen)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
SET(NETGEN_DEFINITIONS -DNO_PARALLEL_THREADS -DOCCGEOMETRY)
|
||||
|
||||
ELSEIF(WIN32)
|
||||
FIND_PATH(NGLIB_INCLUDE_DIR NAMES nglib.h PATHS ${NETGEN_INCLUDEDIR})
|
||||
SET(NETGEN_LIBS nglib mesh occ interface)
|
||||
SET(NGLIB_LIBRARIES "")
|
||||
FOREACH(it ${NETGEN_LIBS})
|
||||
FIND_LIBRARY(NGLIB ${it} PATHS ${NETGEN_LIBDIR})
|
||||
FIND_LIBRARY(NGLIBD ${it}d PATHS ${NETGEN_LIBDIR})
|
||||
IF(NGLIBD AND NGLIB)
|
||||
SET(NG_LIB optimized ${NGLIB}
|
||||
debug ${NGLIBD})
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NG_LIB})
|
||||
UNSET(NGLIB CACHE)
|
||||
UNSET(NGLIBD CACHE)
|
||||
ELSEIF(NGLIB)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB})
|
||||
UNSET(NGLIB CACHE)
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
IF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
|
||||
# We haven't supported Netgen prior to 5.3.1 on MacOS, and the current
|
||||
# plan is for the next Netgen version to be 6.1 (currently unreleased).
|
||||
IF(DEFINED HOMEBREW_PREFIX)
|
||||
SET(NGLIB_PREFIX ${HOMEBREW_PREFIX})
|
||||
ELSE(DEFINED HOMEBREW_PREFIX)
|
||||
SET(NGLIB_PREFIX ${MACPORTS_PREFIX})
|
||||
ENDIF(DEFINED HOMEBREW_PREFIX)
|
||||
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA netgen)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
FIND_PATH(NGLIB_INCLUDE_DIR nglib.h ${NGLIB_PREFIX}/include)
|
||||
|
||||
ELSE(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
|
||||
IF(NETGEN_ROOT)
|
||||
SET(NETGEN_INCLUDEDIR ${NETGEN_ROOT}/include)
|
||||
SET(NETGEN_LIBDIR ${NETGEN_ROOT}/lib)
|
||||
# allow to customize if NETGEN_ROOT is used
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA ${NETGEN_ROOT}/libsrc)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
ENDIF()
|
||||
FIND_LIBRARY(NGLIB_LIBNGLIB nglib ${NGLIB_PREFIX}/lib)
|
||||
FIND_LIBRARY(NGLIB_LIBMESH mesh ${NGLIB_PREFIX}/lib)
|
||||
FIND_LIBRARY(NGLIB_LIBOCC occ ${NGLIB_PREFIX}/lib)
|
||||
FIND_LIBRARY(NGLIB_LIBINTERFACE interface ${NGLIB_PREFIX}/lib)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB} ${NGLIB_LIBMESH}
|
||||
${NGLIB_LIBOCC} ${NGLIB_LIBINTERFACE})
|
||||
|
||||
FIND_PATH(NGLIB_INCLUDE_DIR NAMES nglib.h PATHS ${NETGEN_INCLUDEDIR} /usr/include)
|
||||
FIND_LIBRARY(NGLIB_LIBNGLIB nglib PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB})
|
||||
FIND_LIBRARY(NGLIB_LIBMESH mesh PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
|
||||
IF(NGLIB_LIBMESH)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBMESH})
|
||||
ENDIF()
|
||||
FIND_LIBRARY(NGLIB_LIBOCC occ PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
|
||||
IF(NGLIB_LIBOCC)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBOCC})
|
||||
ENDIF()
|
||||
FIND_LIBRARY(NGLIB_LIBINTERFACE interface PATHS ${NETGEN_LIBDIR} /usr/lib /usr/local/lib)
|
||||
IF(NGLIB_LIBINTERFACE)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBINTERFACE})
|
||||
ENDIF()
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA ${NGLIB_PREFIX}/include/netgen)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA /usr/share/netgen/libsrc)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
ELSEIF(WIN32)
|
||||
FIND_PATH(NGLIB_INCLUDE_DIR NAMES nglib.h PATHS ${NETGEN_INCLUDEDIR})
|
||||
SET(NETGEN_LIBS nglib mesh occ interface)
|
||||
SET(NGLIB_LIBRARIES "")
|
||||
FOREACH(it ${NETGEN_LIBS})
|
||||
FIND_LIBRARY(NGLIB ${it} PATHS ${NETGEN_LIBDIR})
|
||||
FIND_LIBRARY(NGLIBD ${it}d PATHS ${NETGEN_LIBDIR})
|
||||
IF(NGLIBD AND NGLIB)
|
||||
SET(NG_LIB optimized ${NGLIB}
|
||||
debug ${NGLIBD})
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NG_LIB})
|
||||
UNSET(NGLIB CACHE)
|
||||
UNSET(NGLIBD CACHE)
|
||||
ELSEIF(NGLIB)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB})
|
||||
UNSET(NGLIB CACHE)
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
|
||||
ENDIF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA netgen)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
|
||||
FIND_PATH(NETGEN_DIR_include NAMES mydefs.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/include)
|
||||
FIND_PATH(NETGEN_DIR_csg NAMES csg.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/csg)
|
||||
FIND_PATH(NETGEN_DIR_gen NAMES array.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/general)
|
||||
FIND_PATH(NETGEN_DIR_geom2d NAMES geom2dmesh.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/geom2d)
|
||||
FIND_PATH(NETGEN_DIR_gprim NAMES gprim.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/gprim)
|
||||
FIND_PATH(NETGEN_DIR_la NAMES linalg.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/linalg)
|
||||
FIND_PATH(NETGEN_DIR_mesh NAMES meshing.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/meshing)
|
||||
FIND_PATH(NETGEN_DIR_occ NAMES occgeom.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/occ)
|
||||
FIND_PATH(NETGEN_DIR_stlgeom NAMES stlgeom.hpp PATHS ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR} ${NETGENDATA}/stlgeom)
|
||||
ELSE(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
|
||||
IF(NETGEN_ROOT)
|
||||
SET(NETGEN_INCLUDEDIR ${NETGEN_ROOT}/include)
|
||||
SET(NETGEN_LIBDIR ${NETGEN_ROOT}/lib)
|
||||
# allow to customize if NETGEN_ROOT is used
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA ${NETGEN_ROOT}/libsrc)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT NGLIB_INCLUDE_DIR AND NOT NETGEN_DIR_include)
|
||||
MESSAGE(STATUS "Cannot find NETGEN header files.")
|
||||
ELSE()
|
||||
file(STRINGS ${NETGEN_DIR_include}/mydefs.hpp NETGEN_VERSION
|
||||
REGEX "#define PACKAGE_VERSION.*"
|
||||
)
|
||||
if (NETGEN_VERSION)
|
||||
string(REGEX MATCHALL "[0-9]+" NETGEN_VERSION ${NETGEN_VERSION})
|
||||
list(LENGTH NETGEN_VERSION NETGEN_VERSION_COUNT)
|
||||
list(GET NETGEN_VERSION 0 NETGEN_VERSION_MAJOR)
|
||||
if(NETGEN_VERSION_COUNT GREATER 1)
|
||||
list(GET NETGEN_VERSION 1 NETGEN_VERSION_MINOR)
|
||||
else()
|
||||
set(NETGEN_VERSION_MINOR 0)
|
||||
endif()
|
||||
else() # workaround for netgen 6.2 and newer. currently there is no easy way to detect the version
|
||||
# better use "find_package(netgen CONFIG REQUIRED)"
|
||||
set(NETGEN_VERSION_MAJOR 6)
|
||||
set(NETGEN_VERSION_MINOR 2)
|
||||
endif()
|
||||
ENDIF()
|
||||
FIND_PATH(NGLIB_INCLUDE_DIR NAMES nglib.h PATHS ${NETGEN_INCLUDEDIR} /usr/include /usr/include/netgen-mesher)
|
||||
FIND_LIBRARY(NGLIB_LIBNGLIB nglib PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBNGLIB})
|
||||
FIND_LIBRARY(NGLIB_LIBMESH NAMES mesh ngmesh PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
|
||||
IF(NGLIB_LIBMESH)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBMESH})
|
||||
ENDIF()
|
||||
FIND_LIBRARY(NGLIB_LIBOCC NAMES occ ngocc PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
|
||||
IF(NGLIB_LIBOCC)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBOCC})
|
||||
ENDIF()
|
||||
FIND_LIBRARY(NGLIB_LIBINTERFACE NAMES interface nginterface PATHS ${NETGEN_LIBDIR} /usr/lib /usr/lib64 /usr/local/lib)
|
||||
IF(NGLIB_LIBINTERFACE)
|
||||
SET(NGLIB_LIBRARIES ${NGLIB_LIBRARIES} ${NGLIB_LIBINTERFACE})
|
||||
ENDIF()
|
||||
|
||||
IF(NOT NGLIB_LIBRARIES)
|
||||
MESSAGE(STATUS "Cannot find NETGEN library.")
|
||||
ENDIF()
|
||||
IF(NOT NETGENDATA)
|
||||
SET(NETGENDATA /usr/share/netgen/libsrc)
|
||||
ENDIF(NOT NETGENDATA)
|
||||
|
||||
IF(NGLIB_INCLUDE_DIR AND NGLIB_LIBRARIES)
|
||||
SET(NETGEN_FOUND TRUE)
|
||||
SET(NETGEN_INCLUDE_DIRS ${NETGEN_DIR_include} ${NGLIB_INCLUDE_DIR}
|
||||
${NETGEN_DIR_csg} ${NETGEN_DIR_gen} ${NETGEN_DIR_geom2d}
|
||||
${NETGEN_DIR_gprim} ${NETGEN_DIR_la} ${NETGEN_DIR_mesh}
|
||||
${NETGEN_DIR_occ} ${NETGEN_DIR_stlgeom})
|
||||
LIST(REMOVE_DUPLICATES NETGEN_INCLUDE_DIRS)
|
||||
MATH(EXPR NETGEN_VERSION "(${NETGEN_VERSION_MAJOR} << 16) + (${NETGEN_VERSION_MINOR} << 8)")
|
||||
MATH(EXPR NETGEN_VERSION_62 "(6 << 16) + (2 << 8)")
|
||||
IF(NOT NETGEN_VERSION LESS NETGEN_VERSION_62) # Version >= 6.2
|
||||
# NETGEN v6.2 or newer requires c++1y/c++14
|
||||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag("-std=c++14" HAS_CPP14_FLAG)
|
||||
check_cxx_compiler_flag("-std=c++1y" HAS_CPP1Y_FLAG)
|
||||
if(HAS_CPP14_FLAG)
|
||||
set(NETGEN_CXX_FLAGS "-std=c++14")
|
||||
elseif(HAS_CPP1Y_FLAG)
|
||||
set(NETGEN_CXX_FLAGS "-std=c++1y")
|
||||
else()
|
||||
# message(FATAL_ERROR "Unsupported compiler -- C++1y support or newer required!")
|
||||
message(STATUS "can not detect c++1y support, but will try to build with c++1y")
|
||||
set(NETGEN_CXX_FLAGS "-std=c++1y")
|
||||
endif()
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
ENDIF(DEFINED MACPORTS_PREFIX OR DEFINED HOMEBREW_PREFIX)
|
||||
|
||||
FIND_PATH(NETGEN_DIR_include NAMES mydefs.hpp NO_DEFAULT_PATH PATHS ${NGLIB_INCLUDE_DIR}/include ${NETGENDATA}/include ${NETGEN_INCLUDEDIR} ${NGLIB_INCLUDE_DIR})
|
||||
|
||||
IF(NOT NGLIB_INCLUDE_DIR AND NOT NETGEN_DIR_include)
|
||||
MESSAGE(STATUS "Cannot find NETGEN header files.")
|
||||
ELSE()
|
||||
file(STRINGS ${NETGEN_DIR_include}/mydefs.hpp NETGEN_VERSION
|
||||
REGEX "#define PACKAGE_VERSION.*"
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT NGLIB_LIBRARIES)
|
||||
MESSAGE(STATUS "Cannot find NETGEN library.")
|
||||
ENDIF()
|
||||
|
||||
IF(NGLIB_INCLUDE_DIR AND NGLIB_LIBRARIES)
|
||||
SET(Netgen_FOUND TRUE)
|
||||
SET(NETGEN_INCLUDE_DIRS ${NETGEN_DIR_include} ${NGLIB_INCLUDE_DIR})
|
||||
LIST(REMOVE_DUPLICATES NETGEN_INCLUDE_DIRS)
|
||||
ELSE()
|
||||
SET(Netgen_FOUND FALSE)
|
||||
ENDIF()
|
||||
endif(Netgen_FOUND)
|
||||
|
||||
# Package-provided cMake file is not enough
|
||||
IF(Netgen_FOUND)
|
||||
IF(NETGEN_VERSION)
|
||||
string(REGEX MATCHALL "[0-9]+" NETGEN_VERSION_expr ${NETGEN_VERSION})
|
||||
list(LENGTH NETGEN_VERSION_expr NETGEN_VERSION_COUNT)
|
||||
list(GET NETGEN_VERSION_expr 0 NETGEN_VERSION_MAJOR)
|
||||
IF(NETGEN_VERSION_COUNT GREATER 1)
|
||||
list(GET NETGEN_VERSION_expr 1 NETGEN_VERSION_MINOR)
|
||||
ELSE()
|
||||
set(NETGEN_VERSION_MINOR 0)
|
||||
ENDIF()
|
||||
ELSE() # workaround for netgen 6.2 and newer. currently there is no easy way to detect the version
|
||||
# better use "find_package(netgen CONFIG REQUIRED)"
|
||||
set(NETGEN_VERSION_MAJOR 6)
|
||||
set(NETGEN_VERSION_MINOR 2)
|
||||
ENDIF()
|
||||
|
||||
MATH(EXPR NETGEN_VERSION_C "(${NETGEN_VERSION_MAJOR} << 16) + (${NETGEN_VERSION_MINOR} << 8)")
|
||||
MATH(EXPR NETGEN_VERSION_62 "(6 << 16) + (2 << 8)")
|
||||
IF(NOT NETGEN_VERSION_C LESS NETGEN_VERSION_62) # Version >= 6.2
|
||||
IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
# Clang sometimes fails to include <cstdio>
|
||||
include(CMakePushCheckState)
|
||||
cmake_push_check_state(RESET)
|
||||
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${NETGEN_CXX_FLAGS}")
|
||||
check_cxx_source_compiles("#include <cstdio>\nint main(){}" CSTDIO_INCLUDE_TRY1)
|
||||
if(NOT CSTDIO_INCLUDE_TRY1)
|
||||
# Ugly hack to make <stdio.h> building gets function
|
||||
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -U__cplusplus -D__cplusplus=201103L")
|
||||
check_cxx_source_compiles("#include <cstdio>\nint main(){}" CSTDIO_INCLUDE_TRY2)
|
||||
if(NOT CSTDIO_INCLUDE_TRY2)
|
||||
message(FATAL_ERROR "Cannot #include <cstdio>.")
|
||||
else()
|
||||
set(NETGEN_CXX_FLAGS "${NETGEN_CXX_FLAGS} -U__cplusplus -D__cplusplus=201103L")
|
||||
endif()
|
||||
endif()
|
||||
cmake_pop_check_state()
|
||||
endif()
|
||||
IF(NOT CSTDIO_INCLUDE_TRY1)
|
||||
# Ugly hack to make <stdio.h> building gets function
|
||||
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -U__cplusplus -D__cplusplus=201103L")
|
||||
check_cxx_source_compiles("#include <cstdio>\nint main(){}" CSTDIO_INCLUDE_TRY2)
|
||||
IF(NOT CSTDIO_INCLUDE_TRY2)
|
||||
message(FATAL_ERROR "Cannot #include <cstdio>.")
|
||||
ELSE()
|
||||
set(NETGEN_CXX_FLAGS "${NETGEN_CXX_FLAGS} -U__cplusplus -D__cplusplus=201103L")
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
cmake_pop_check_state()
|
||||
ENDIF()
|
||||
MESSAGE(STATUS "Found NETGEN version ${NETGEN_VERSION_MAJOR}.${NETGEN_VERSION_MINOR}, calculated: ${NETGEN_VERSION}")
|
||||
LIST(APPEND NETGEN_DEFINITIONS -DNETGEN_VERSION=${NETGEN_VERSION})
|
||||
ELSE()
|
||||
SET(NETGEN_FOUND FALSE)
|
||||
ENDIF()
|
||||
MESSAGE(STATUS "Found NETGEN version ${NETGEN_VERSION_MAJOR}.${NETGEN_VERSION_MINOR}, calculated: ${NETGEN_VERSION_C}")
|
||||
LIST(APPEND NETGEN_DEFINITIONS -DNETGEN_VERSION=${NETGEN_VERSION_C})
|
||||
ENDIF()
|
||||
|
||||
+45
-32
@@ -34,9 +34,41 @@ if(OCE_FOUND)
|
||||
set(OCC_INCLUDE_DIR ${OCE_INCLUDE_DIRS})
|
||||
#set(OCC_LIBRARY_DIR ${OCE_LIBRARY_DIR})
|
||||
else(OCE_FOUND) #look for OpenCASCADE
|
||||
if(WIN32)
|
||||
if(CYGWIN OR MINGW)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
# we first try to find opencascade directly:
|
||||
if(NOT OCCT_CMAKE_FALLBACK)
|
||||
find_package(OpenCASCADE CONFIG QUIET)
|
||||
endif(NOT OCCT_CMAKE_FALLBACK)
|
||||
if(OpenCASCADE_FOUND)
|
||||
set(OCC_FOUND ${OpenCASCADE_FOUND})
|
||||
set(OCC_INCLUDE_DIR ${OpenCASCADE_INCLUDE_DIR})
|
||||
set(OCC_LIBRARY_DIR ${OpenCASCADE_LIBRARY_DIR})
|
||||
set(OCC_LIBRARIES ${OpenCASCADE_LIBRARIES})
|
||||
set(OCC_OCAF_LIBRARIES TKCAF TKXCAF)
|
||||
else(OpenCASCADE_FOUND)
|
||||
if(WIN32)
|
||||
if(CYGWIN OR MINGW)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
/usr/include/opencascade
|
||||
/usr/local/include/opencascade
|
||||
/opt/opencascade/include
|
||||
/opt/opencascade/inc
|
||||
)
|
||||
FIND_LIBRARY(OCC_LIBRARY TKernel
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/opencascade/lib
|
||||
)
|
||||
else(CYGWIN OR MINGW)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/include"
|
||||
)
|
||||
FIND_LIBRARY(OCC_LIBRARY TKernel
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/lib"
|
||||
)
|
||||
endif(CYGWIN OR MINGW)
|
||||
else(WIN32)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
/usr/include/occt
|
||||
/usr/include/opencascade
|
||||
/usr/local/include/opencascade
|
||||
/opt/opencascade/include
|
||||
@@ -47,35 +79,16 @@ else(OCE_FOUND) #look for OpenCASCADE
|
||||
/usr/local/lib
|
||||
/opt/opencascade/lib
|
||||
)
|
||||
else(CYGWIN OR MINGW)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/include"
|
||||
)
|
||||
FIND_LIBRARY(OCC_LIBRARY TKernel
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\SIM\\OCC\\2;Installation Path]/lib"
|
||||
)
|
||||
endif(CYGWIN OR MINGW)
|
||||
else(WIN32)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
/usr/include/opencascade
|
||||
/usr/local/include/opencascade
|
||||
/opt/opencascade/include
|
||||
/opt/opencascade/inc
|
||||
)
|
||||
FIND_LIBRARY(OCC_LIBRARY TKernel
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
/opt/opencascade/lib
|
||||
)
|
||||
endif(WIN32)
|
||||
if(OCC_LIBRARY)
|
||||
GET_FILENAME_COMPONENT(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH)
|
||||
IF(NOT OCC_INCLUDE_DIR)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
${OCC_LIBRARY_DIR}/../inc
|
||||
)
|
||||
ENDIF()
|
||||
endif(OCC_LIBRARY)
|
||||
endif(WIN32)
|
||||
if(OCC_LIBRARY)
|
||||
GET_FILENAME_COMPONENT(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH)
|
||||
IF(NOT OCC_INCLUDE_DIR)
|
||||
FIND_PATH(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||
${OCC_LIBRARY_DIR}/../inc
|
||||
)
|
||||
ENDIF()
|
||||
endif(OCC_LIBRARY)
|
||||
endif(OpenCASCADE_FOUND)
|
||||
endif(OCE_FOUND)
|
||||
|
||||
if(OCC_INCLUDE_DIR)
|
||||
|
||||
+41
-22
@@ -27,13 +27,13 @@ if(PYCXX_INCLUDE_DIR)
|
||||
if(NOT EXISTS "${PYCXX_INCLUDE_DIR}/CXX/Config.hxx")
|
||||
if(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
|
||||
"${PYCXX_INCLUDE_DIR}")
|
||||
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
|
||||
"${PYCXX_INCLUDE_DIR}")
|
||||
else(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(WARNING
|
||||
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
|
||||
"${PYCXX_INCLUDE_DIR}")
|
||||
unset(PYCXX_FOUND)
|
||||
"PyCXX: could not find CXX/Config.hxx in PYCXX_INCLUDE_DIR "
|
||||
"${PYCXX_INCLUDE_DIR}")
|
||||
unset(PYCXX_FOUND)
|
||||
endif(PyCXX_FIND_REQUIRED)
|
||||
endif(NOT EXISTS "${PYCXX_INCLUDE_DIR}/CXX/Config.hxx")
|
||||
else(PYCXX_INCLUDE_DIR)
|
||||
@@ -44,11 +44,11 @@ else(PYCXX_INCLUDE_DIR)
|
||||
if(NOT PYCXX_INCLUDE_DIR)
|
||||
if(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"PyCXX not found; please set PYCXX_INCLUDE_DIR to "
|
||||
"the location of CXX/Config.hxx")
|
||||
"PyCXX not found; please set PYCXX_INCLUDE_DIR to "
|
||||
"the location of CXX/Config.hxx")
|
||||
else(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(STATUS "PyCXX not found")
|
||||
unset(PYCXX_FOUND)
|
||||
unset(PYCXX_FOUND)
|
||||
endif(PyCXX_FIND_REQUIRED)
|
||||
endif(NOT PYCXX_INCLUDE_DIR)
|
||||
endif(PYCXX_INCLUDE_DIR)
|
||||
@@ -58,14 +58,14 @@ if(PYCXX_SOURCE_DIR)
|
||||
# source directory specified, they'd better be there
|
||||
if(NOT EXISTS "${PYCXX_SOURCE_DIR}/cxxextensions.c")
|
||||
if(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"PyCXX: cxxextensions.c not found in PYCXX_INCLUDE_DIR "
|
||||
"${PYCXX_INCLUDE_DIR}")
|
||||
MESSAGE(FATAL_ERROR
|
||||
"PyCXX: cxxextensions.c not found in PYCXX_SOURCE_DIR "
|
||||
"${PYCXX_SOURCE_DIR}")
|
||||
else(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(WARNING
|
||||
"PyCXX: cxxextensions.c not found in PYCXX_INCLUDE_DIR "
|
||||
"${PYCXX_INCLUDE_DIR}")
|
||||
unset(PYCXX_FOUND)
|
||||
"PyCXX: cxxextensions.c not found in PYCXX_SOURCE_DIR "
|
||||
"${PYCXX_SOURCE_DIR}")
|
||||
unset(PYCXX_FOUND)
|
||||
endif(PyCXX_FIND_REQUIRED)
|
||||
endif(NOT EXISTS "${PYCXX_SOURCE_DIR}/cxxextensions.c")
|
||||
else(PYCXX_SOURCE_DIR)
|
||||
@@ -79,29 +79,48 @@ else(PYCXX_SOURCE_DIR)
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../CXX")
|
||||
if(NOT PYCXX_SOURCE_DIR)
|
||||
if(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR
|
||||
"PyCXX not found; please set PYCXX_SOURCE_DIR to "
|
||||
"the location of cxxextensions.c")
|
||||
MESSAGE(FATAL_ERROR
|
||||
"PyCXX not found; please set PYCXX_SOURCE_DIR to "
|
||||
"the location of cxxextensions.c")
|
||||
else(PyCXX_FIND_REQUIRED)
|
||||
MESSAGE(STATUS "PyCXX not found")
|
||||
unset(PYCXX_FOUND)
|
||||
unset(PYCXX_FOUND)
|
||||
endif(PyCXX_FIND_REQUIRED)
|
||||
endif(NOT PYCXX_SOURCE_DIR)
|
||||
endif(PYCXX_SOURCE_DIR)
|
||||
|
||||
# Find PyCXX Version
|
||||
if(PYCXX_INCLUDE_DIR AND PYCXX_SOURCE_DIR)
|
||||
file(READ ${PYCXX_INCLUDE_DIR}/CXX/Version.hxx PYCXX_VERSION_H)
|
||||
foreach(item IN ITEMS MAJOR MINOR PATCH)
|
||||
string(REGEX REPLACE
|
||||
".*#define[ \t]+PYCXX_VERSION_${item}[ \t]+([0-9]+).*"
|
||||
"\\1" PYCXX_VERSION_${item}
|
||||
"${PYCXX_VERSION_H}"
|
||||
)
|
||||
endforeach()
|
||||
set(PYCXX_VERSION ${PYCXX_VERSION_MAJOR}.${PYCXX_VERSION_MINOR}.${PYCXX_VERSION_PATCH})
|
||||
endif()
|
||||
|
||||
# see what we've got
|
||||
if(PYCXX_FOUND)
|
||||
MESSAGE(STATUS "PyCXX found:")
|
||||
MESSAGE(STATUS " Headers: ${PYCXX_INCLUDE_DIR}")
|
||||
MESSAGE(STATUS " Sources: ${PYCXX_SOURCE_DIR}")
|
||||
MESSAGE(STATUS " Version: ${PYCXX_VERSION}")
|
||||
|
||||
# Build the list of sources for convenience
|
||||
set(PYCXX_SOURCES
|
||||
${PYCXX_SOURCE_DIR}/cxxextensions.c
|
||||
${PYCXX_SOURCE_DIR}/cxx_extensions.cxx
|
||||
${PYCXX_SOURCE_DIR}/cxxsupport.cxx
|
||||
${PYCXX_SOURCE_DIR}/IndirectPythonInterface.cxx
|
||||
${PYCXX_SOURCE_DIR}/cxxextensions.c
|
||||
${PYCXX_SOURCE_DIR}/cxx_extensions.cxx
|
||||
${PYCXX_SOURCE_DIR}/cxxsupport.cxx
|
||||
${PYCXX_SOURCE_DIR}/IndirectPythonInterface.cxx
|
||||
)
|
||||
if(NOT ${PYCXX_VERSION} VERSION_LESS 7.0.0)
|
||||
list(APPEND PYCXX_SOURCES
|
||||
${PYCXX_SOURCE_DIR}/cxx_exceptions.cxx)
|
||||
add_definitions(-DPYCXX_6_2_COMPATIBILITY)
|
||||
endif()
|
||||
else(PYCXX_FOUND)
|
||||
MESSAGE(STATUS "PyCXX not found")
|
||||
endif(PYCXX_FOUND)
|
||||
|
||||
@@ -31,21 +31,22 @@ MACRO(PYSIDE_WRAP_UI outfiles)
|
||||
#ADD_CUSTOM_TARGET(${it} ALL
|
||||
# DEPENDS ${outfile}
|
||||
#)
|
||||
if(WIN32)
|
||||
if(WIN32 OR APPLE)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||
COMMAND ${PYSIDE2UICBINARY} ${infile} -o ${outfile}
|
||||
MAIN_DEPENDENCY ${infile}
|
||||
)
|
||||
else(WIN32)
|
||||
else()
|
||||
# Especially on Open Build Service we don't want changing date like
|
||||
# pyside2-uic generates in comments at beginning.
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYSIDE2UICBINARY} ${infile}
|
||||
COMMAND sed "/^# /d"
|
||||
OUTPUT_FILE ${outfile}
|
||||
# pyside2-uic generates in comments at beginning., which is why
|
||||
# we follow the tool command with in-place sed.
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||
COMMAND "${PYSIDE2UICBINARY}" "${infile}" -o "${outfile}"
|
||||
COMMAND sed -i "/^# /d" "${outfile}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endif(WIN32)
|
||||
SET(${outfiles} ${${outfiles}} ${outfile})
|
||||
endif()
|
||||
list(APPEND ${outfiles} ${outfile})
|
||||
ENDFOREACH(it)
|
||||
ENDMACRO (PYSIDE_WRAP_UI)
|
||||
|
||||
@@ -53,25 +54,26 @@ MACRO(PYSIDE_WRAP_RC outfiles)
|
||||
FOREACH(it ${ARGN})
|
||||
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
|
||||
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
|
||||
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfile}_rc.py)
|
||||
SET(outfile "${CMAKE_CURRENT_BINARY_DIR}/${outfile}_rc.py")
|
||||
#ADD_CUSTOM_TARGET(${it} ALL
|
||||
# DEPENDS ${outfile}
|
||||
#)
|
||||
if(WIN32)
|
||||
if(WIN32 OR APPLE)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||
COMMAND ${PYSIDE2RCCBINARY} ${infile} -o ${outfile}
|
||||
MAIN_DEPENDENCY ${infile}
|
||||
)
|
||||
else(WIN32)
|
||||
else()
|
||||
# Especially on Open Build Service we don't want changing date like
|
||||
# pyside2-rcc generates in comments at beginning.
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYSIDE2RCCBINARY} ${infile}
|
||||
COMMAND sed "/^# /d"
|
||||
OUTPUT_FILE ${outfile}
|
||||
)
|
||||
endif(WIN32)
|
||||
SET(${outfiles} ${${outfiles}} ${outfile})
|
||||
# pyside-rcc generates in comments at beginning, which is why
|
||||
# we follow the tool command with in-place sed.
|
||||
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
|
||||
COMMAND "${PYSIDE2RCCBINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
|
||||
COMMAND sed -i "/^# /d" "${outfile}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endif()
|
||||
list(APPEND ${outfiles} ${outfile})
|
||||
ENDFOREACH(it)
|
||||
ENDMACRO (PYSIDE_WRAP_RC)
|
||||
|
||||
|
||||
+16
-14
@@ -38,14 +38,15 @@ MACRO(PYSIDE_WRAP_UI outfiles)
|
||||
)
|
||||
else(WIN32)
|
||||
# Especially on Open Build Service we don't want changing date like
|
||||
# pyside-uic generates in comments at beginning.
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYSIDEUIC4BINARY} ${infile}
|
||||
COMMAND sed "/^# /d"
|
||||
OUTPUT_FILE ${outfile}
|
||||
# pyside-uic generates in comments at beginning, which is why
|
||||
# we follow the tool command with in-place sed.
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||
COMMAND "${PYSIDEUIC4BINARY}" "${infile}" -o "${outfile}"
|
||||
COMMAND sed -i "/^# /d" "${outfile}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endif(WIN32)
|
||||
SET(${outfiles} ${${outfiles}} ${outfile})
|
||||
list(APPEND ${outfiles} ${outfile})
|
||||
ENDFOREACH(it)
|
||||
ENDMACRO (PYSIDE_WRAP_UI)
|
||||
|
||||
@@ -53,7 +54,7 @@ MACRO(PYSIDE_WRAP_RC outfiles)
|
||||
FOREACH(it ${ARGN})
|
||||
GET_FILENAME_COMPONENT(outfile ${it} NAME_WE)
|
||||
GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
|
||||
SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfile}_rc.py)
|
||||
SET(outfile "${CMAKE_CURRENT_BINARY_DIR}/${outfile}_rc.py")
|
||||
#ADD_CUSTOM_TARGET(${it} ALL
|
||||
# DEPENDS ${outfile}
|
||||
#)
|
||||
@@ -69,14 +70,15 @@ MACRO(PYSIDE_WRAP_RC outfiles)
|
||||
)
|
||||
else(WIN32)
|
||||
# Especially on Open Build Service we don't want changing date like
|
||||
# pyside-rcc generates in comments at beginning.
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYSIDERCC4BINARY} ${infile} ${PY_ATTRIBUTE}
|
||||
COMMAND sed "/^# /d"
|
||||
OUTPUT_FILE ${outfile}
|
||||
)
|
||||
# pyside-rcc generates in comments at beginning, which is why
|
||||
# we follow the tool command with in-place sed.
|
||||
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
|
||||
COMMAND "${PYSIDERCC4BINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
|
||||
COMMAND sed -i "/^# /d" "${outfile}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endif(WIN32)
|
||||
SET(${outfiles} ${${outfiles}} ${outfile})
|
||||
list(APPEND ${outfiles} ${outfile})
|
||||
ENDFOREACH(it)
|
||||
ENDMACRO (PYSIDE_WRAP_RC)
|
||||
|
||||
|
||||
+131
-133
@@ -3,164 +3,162 @@ include (CheckCXXSourceRuns)
|
||||
# ================================================================================
|
||||
# == Macros, mostly for special targets ==========================================
|
||||
|
||||
MACRO(COPY_IF_DIFFERENT FROM_DIR TO_DIR FILES TARGETS TAGS)
|
||||
# Macro to implement copy_if_different for a list of files
|
||||
# Arguments -
|
||||
# FROM_DIR - this is the source directory
|
||||
# TO_DIR - this is the destination directory
|
||||
# FILES - names of the files to copy
|
||||
# TODO: add globing.
|
||||
# TARGETS - List of targets
|
||||
# TAGS - Since only the file name is used
|
||||
# to generate rules, pre-pend a user
|
||||
# supplied tag to prevent duplicate rule errors.
|
||||
SET(AddTargets "")
|
||||
FOREACH(SRC ${FILES})
|
||||
GET_FILENAME_COMPONENT(SRCFILE ${SRC} NAME)
|
||||
# Command to copy the files to ${STEP1}/src, if changed.
|
||||
SET(TARGET "${TAGS}/${SRCFILE}")
|
||||
IF("${FROM_DIR}" STREQUAL "")
|
||||
SET(FROM ${SRC})
|
||||
ELSE("${FROM_DIR}" STREQUAL "")
|
||||
SET(FROM ${FROM_DIR}/${SRC})
|
||||
ENDIF("${FROM_DIR}" STREQUAL "")
|
||||
IF("${TO_DIR}" STREQUAL "")
|
||||
SET(TO ${SRCFILE})
|
||||
ELSE("${TO_DIR}" STREQUAL "")
|
||||
SET(TO ${TO_DIR}/${SRCFILE})
|
||||
ENDIF("${TO_DIR}" STREQUAL "")
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${TARGET}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${FROM} ${TO}
|
||||
COMMENT "Copying ${SRCFILE} ${TO_DIR}"
|
||||
)
|
||||
SET(AddTargets ${AddTargets} ${TARGET})
|
||||
ENDFOREACH(SRC ${FILES})
|
||||
SET(${TARGETS} ${AddTargets})
|
||||
ENDMACRO(COPY_IF_DIFFERENT FROM_DIR TO_DIR FILES TARGETS TAGS)
|
||||
|
||||
MACRO (fc_copy_sources target_name outpath)
|
||||
if(BUILD_VERBOSE_GENERATION)
|
||||
set(fc_details " (fc_copy_sources called from ${CMAKE_CURRENT_SOURCE_DIR})")
|
||||
else()
|
||||
set(fc_details "")
|
||||
endif()
|
||||
foreach(it ${ARGN})
|
||||
file(TO_NATIVE_PATH "${outpath}/${it}" outfile)
|
||||
get_filename_component(infile ${it} ABSOLUTE)
|
||||
get_filename_component(outfile ${outfile} ABSOLUTE)
|
||||
add_file_dependencies(${infile} ${outfile})
|
||||
get_filename_component(outfile "${outpath}/${it}" ABSOLUTE)
|
||||
add_file_dependencies("${infile}" "${outfile}")
|
||||
ADD_CUSTOM_COMMAND(
|
||||
SOURCE ${infile}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy ${infile} ${outfile}
|
||||
TARGET ${target_name}
|
||||
OUTPUTS ${outfile}
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy "${infile}" "${outfile}"
|
||||
OUTPUT "${outfile}"
|
||||
COMMENT "Copying ${infile} to ${outfile}${fc_details}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endforeach(it)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
SOURCE ${target_name}
|
||||
TARGET ${target_name}
|
||||
DEPENDS ${ARGN}
|
||||
)
|
||||
ENDMACRO(fc_copy_sources)
|
||||
|
||||
MACRO (fc_copy_file_if_different inputfile outputfile)
|
||||
if (EXISTS ${inputfile})
|
||||
if (EXISTS ${outputfile})
|
||||
execute_process(
|
||||
COMMAND ${CMAKE_COMMAND} -E compare_files ${inputfile}
|
||||
${outputfile}
|
||||
RESULT_VARIABLE DIFFERENT_FILES
|
||||
OUTPUT_QUIET
|
||||
ERROR_QUIET
|
||||
)
|
||||
|
||||
if (DIFFERENT_FILES)
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E copy "${inputfile}"
|
||||
"${outputfile}")
|
||||
endif()
|
||||
else()
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E copy "${inputfile}"
|
||||
"${outputfile}")
|
||||
endif()
|
||||
endif()
|
||||
ENDMACRO(fc_copy_file_if_different)
|
||||
|
||||
MACRO (fc_target_copy_resource target_name inpath outpath)
|
||||
# Macro to copy a list of files into a nested directory structure
|
||||
# Arguments -
|
||||
# target_name - name of the target the files will be added to
|
||||
# inpath - name of the source directory
|
||||
# outpath - name of the destination directory
|
||||
# ARGN - a list of relative file names that will be copied
|
||||
#
|
||||
# If a relative file name is foo/bar.txt then the foo directory
|
||||
# part will be kept so that the destination file name will be
|
||||
# ${outpath}/foo/bar.txt
|
||||
#
|
||||
if(BUILD_VERBOSE_GENERATION)
|
||||
set(fc_details " (fc_target_copy_resource called from ${CMAKE_CURRENT_SOURCE_DIR})")
|
||||
else()
|
||||
set(fc_details "")
|
||||
endif()
|
||||
foreach(it ${ARGN})
|
||||
file(TO_NATIVE_PATH "${inpath}/${it}" infile)
|
||||
file(TO_NATIVE_PATH "${outpath}/${it}" outfile)
|
||||
get_filename_component(infile ${infile} ABSOLUTE)
|
||||
get_filename_component(outfile ${outfile} ABSOLUTE)
|
||||
add_file_dependencies(${infile} ${outfile})
|
||||
get_filename_component(infile "${inpath}/${it}" ABSOLUTE)
|
||||
get_filename_component(outfile "${outpath}/${it}" ABSOLUTE)
|
||||
add_file_dependencies("${infile}" "${outfile}")
|
||||
ADD_CUSTOM_COMMAND(
|
||||
SOURCE ${infile}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy ${infile} ${outfile}
|
||||
TARGET ${target_name}
|
||||
OUTPUTS ${outfile}
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy "${infile}" "${outfile}"
|
||||
OUTPUT "${outfile}"
|
||||
COMMENT "Copying ${infile} to ${outfile}${fc_details}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endforeach(it)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
SOURCE ${target_name}
|
||||
TARGET ${target_name}
|
||||
DEPENDS ${ARGN}
|
||||
)
|
||||
ENDMACRO(fc_target_copy_resource)
|
||||
|
||||
macro(copy_to_local_output_paths SOURCE_PATHS)
|
||||
if(CMAKE_CFG_INTDIR STREQUAL .)
|
||||
# No Debug/Release output paths
|
||||
set(DEBUG_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
||||
set(RELEASE_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
||||
else(CMAKE_CFG_INTDIR STREQUAL .)
|
||||
#set(DEBUG_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/Debug)
|
||||
#set(RELEASE_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/Release)
|
||||
set(DEBUG_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
||||
set(RELEASE_LOCAL_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif(CMAKE_CFG_INTDIR STREQUAL .)
|
||||
file(TO_NATIVE_PATH ${SOURCE_PATHS} NATIVE_SOURCE)
|
||||
file(TO_NATIVE_PATH ${DEBUG_LOCAL_OUTPUT_PATH}/ NATIVE_DEBUG_DESTINATION)
|
||||
file(TO_NATIVE_PATH ${RELEASE_LOCAL_OUTPUT_PATH}/ NATIVE_RELESE_DESTINATION)
|
||||
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}")
|
||||
execute_process(
|
||||
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
if(NOT ${DEBUG_LOCAL_OUTPUT_PATH} STREQUAL ${RELEASE_LOCAL_OUTPUT_PATH})
|
||||
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}")
|
||||
execute_process(
|
||||
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif(NOT ${DEBUG_LOCAL_OUTPUT_PATH} STREQUAL ${RELEASE_LOCAL_OUTPUT_PATH})
|
||||
endmacro(copy_to_local_output_paths)
|
||||
|
||||
macro(copy_to_main_output_paths SOURCE_PATHS)
|
||||
file(TO_NATIVE_PATH ${SOURCE_PATHS} NATIVE_SOURCE)
|
||||
file(TO_NATIVE_PATH ${DEBUG_MAIN_OUTPUT_PATH}/ NATIVE_DEBUG_DESTINATION)
|
||||
file(TO_NATIVE_PATH ${RELEASE_MAIN_OUTPUT_PATH}/ NATIVE_RELESE_DESTINATION)
|
||||
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}")
|
||||
execute_process(
|
||||
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_DEBUG_DESTINATION}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
if(NOT ${DEBUG_MAIN_OUTPUT_PATH} STREQUAL ${RELEASE_MAIN_OUTPUT_PATH})
|
||||
message(STATUS "${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}")
|
||||
execute_process(
|
||||
COMMAND ${PLATFORM_CP} ${NATIVE_SOURCE} ${NATIVE_RELESE_DESTINATION}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif(NOT ${DEBUG_MAIN_OUTPUT_PATH} STREQUAL ${RELEASE_MAIN_OUTPUT_PATH})
|
||||
endmacro(copy_to_main_output_paths)
|
||||
MACRO (fc_target_copy_resource_flat target_name inpath outpath)
|
||||
# Macro to copy a list of files into a flat directory structure
|
||||
# Arguments -
|
||||
# target_name - name of the target the files will be added to
|
||||
# inpath - name of the source directory
|
||||
# outpath - name of the destination directory
|
||||
# ARGN - a list of relative file names that will be copied
|
||||
#
|
||||
# If a relative file name is foo/bar.txt then the foo directory
|
||||
# part will be removed so that the destination file name will be
|
||||
# ${outpath}/bar.txt
|
||||
#
|
||||
if(BUILD_VERBOSE_GENERATION)
|
||||
set(fc_details " (fc_target_copy_resource_flat called from ${CMAKE_CURRENT_SOURCE_DIR})")
|
||||
else()
|
||||
set(fc_details "")
|
||||
endif()
|
||||
foreach(it ${ARGN})
|
||||
get_filename_component(infile "${inpath}/${it}" ABSOLUTE)
|
||||
get_filename_component(outfile "${it}" NAME)
|
||||
get_filename_component(outfile "${outpath}/${outfile}" ABSOLUTE)
|
||||
add_file_dependencies("${infile}" "${outfile}")
|
||||
ADD_CUSTOM_COMMAND(
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy "${infile}" "${outfile}"
|
||||
OUTPUT "${outfile}"
|
||||
COMMENT "Copying ${infile} to ${outfile}${fc_details}"
|
||||
MAIN_DEPENDENCY "${infile}"
|
||||
)
|
||||
endforeach(it)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET ${target_name}
|
||||
DEPENDS ${ARGN}
|
||||
)
|
||||
ENDMACRO(fc_target_copy_resource_flat)
|
||||
|
||||
# It would be a bit cleaner to generate these files in ${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
||||
macro(generate_from_xml BASE_NAME)
|
||||
file(TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/src/Tools/generate.py TOOL_PATH)
|
||||
file(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.xml SOURCE_PATH)
|
||||
set(TOOL_PATH "${CMAKE_SOURCE_DIR}/src/Tools/generate.py")
|
||||
file(TO_NATIVE_PATH "${TOOL_PATH}" TOOL_NATIVE_PATH)
|
||||
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.xml" SOURCE_NATIVE_PATH)
|
||||
|
||||
file(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp SOURCE_CPP_PATH)
|
||||
set(SOURCE_CPP_PATH "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp" )
|
||||
|
||||
# BASE_NAME may include also a path name
|
||||
GET_FILENAME_COMPONENT(OUTPUT_PATH ${SOURCE_CPP_PATH} PATH)
|
||||
if (NOT EXISTS ${SOURCE_CPP_PATH})
|
||||
GET_FILENAME_COMPONENT(OUTPUT_PATH "${SOURCE_CPP_PATH}" PATH)
|
||||
file(TO_NATIVE_PATH "${OUTPUT_PATH}" OUTPUT_NATIVE_PATH)
|
||||
if(NOT EXISTS "${SOURCE_CPP_PATH}")
|
||||
# assures the source files are generated at least once
|
||||
message(STATUS "${SOURCE_CPP_PATH}")
|
||||
execute_process(COMMAND ${PYTHON_EXECUTABLE} ${TOOL_PATH} --outputPath ${OUTPUT_PATH} ${SOURCE_PATH}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
execute_process(COMMAND "${PYTHON_EXECUTABLE}" "${TOOL_NATIVE_PATH}" --outputPath "${OUTPUT_NATIVE_PATH}" "${SOURCE_NATIVE_PATH}"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
endif (NOT EXISTS ${SOURCE_CPP_PATH})
|
||||
|
||||
endif()
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.h ${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${TOOL_PATH} --outputPath ${OUTPUT_PATH} ${BASE_NAME}.xml
|
||||
MAIN_DEPENDENCY ${BASE_NAME}.xml
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/src/Tools/generateTemplates/templateClassPyExport.py
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMENT Building ${BASE_NAME}.h/.cpp out of ${BASE_NAME}.xml
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.h" "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.cpp"
|
||||
COMMAND ${PYTHON_EXECUTABLE} "${TOOL_NATIVE_PATH}" --outputPath "${OUTPUT_NATIVE_PATH}" ${BASE_NAME}.xml
|
||||
MAIN_DEPENDENCY "${BASE_NAME}.xml"
|
||||
DEPENDS
|
||||
"${CMAKE_SOURCE_DIR}/src/Tools/generateTemplates/templateClassPyExport.py"
|
||||
"${TOOL_PATH}"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
COMMENT "Building ${BASE_NAME}.h/.cpp out of ${BASE_NAME}.xml"
|
||||
)
|
||||
endmacro(generate_from_xml)
|
||||
|
||||
macro(generate_from_py BASE_NAME OUTPUT_FILE)
|
||||
file(TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/src/Tools/PythonToCPP.py TOOL_PATH)
|
||||
file(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.py SOURCE_PATH)
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${OUTPUT_FILE}
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${TOOL_PATH} ${SOURCE_PATH} ${OUTPUT_FILE}
|
||||
MAIN_DEPENDENCY ${BASE_NAME}.py
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT Building files out of ${BASE_NAME}.py)
|
||||
set(TOOL_PATH "${CMAKE_SOURCE_DIR}/src/Tools/PythonToCPP.py")
|
||||
file(TO_NATIVE_PATH "${TOOL_PATH}" TOOL_NATIVE_PATH)
|
||||
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.py" SOURCE_NATIVE_PATH)
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${OUTPUT_FILE}"
|
||||
COMMAND "${PYTHON_EXECUTABLE}" "${TOOL_NATIVE_PATH}" "${SOURCE_NATIVE_PATH}" "${OUTPUT_FILE}"
|
||||
MAIN_DEPENDENCY "${CMAKE_CURRENT_SOURCE_DIR}/${BASE_NAME}.py"
|
||||
DEPENDS "${TOOL_PATH}"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building files out of ${BASE_NAME}.py")
|
||||
endmacro(generate_from_py)
|
||||
|
||||
|
||||
@@ -236,15 +234,15 @@ MACRO(SET_BIN_DIR ProjectName OutputName)
|
||||
if(WIN32)
|
||||
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
|
||||
else(WIN32)
|
||||
# FreeCADBase, SMDS, Driver, MEFISTO2 and area-native libs don't depend on parts from CMAKE_INSTALL_LIBDIR
|
||||
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2|area-native)$")
|
||||
if(${ARGC} STREQUAL 4)
|
||||
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
|
||||
else(${ARGC} STREQUAL 4)
|
||||
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
endif()
|
||||
endif(WIN32)
|
||||
# FreeCADBase, SMDS, Driver, MEFISTO2 and area-native libs don't depend on parts from CMAKE_INSTALL_LIBDIR
|
||||
if(NOT ${ProjectName} MATCHES "^(FreeCADBase|SMDS|Driver|MEFISTO2|area-native)$")
|
||||
if(${ARGC} STREQUAL 4)
|
||||
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
|
||||
else(${ARGC} STREQUAL 4)
|
||||
set_property(TARGET ${ProjectName} APPEND PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
endif()
|
||||
endif(WIN32)
|
||||
ENDMACRO(SET_BIN_DIR)
|
||||
|
||||
# Set python prefix & suffix together
|
||||
@@ -255,8 +253,8 @@ MACRO(SET_PYTHON_PREFIX_SUFFIX ProjectName)
|
||||
|
||||
if(WIN32)
|
||||
set_target_properties(${ProjectName} PROPERTIES SUFFIX ".pyd")
|
||||
# 0000661: cmake build on Mac OS: dealing with dylib versus so
|
||||
elseif(APPLE)
|
||||
# 0000661: cmake build on Mac OS: dealing with dylib versus so
|
||||
elseif(APPLE)
|
||||
set_target_properties(${ProjectName} PROPERTIES SUFFIX ".so")
|
||||
endif(WIN32)
|
||||
ENDMACRO(SET_PYTHON_PREFIX_SUFFIX)
|
||||
ENDMACRO(SET_PYTHON_PREFIX_SUFFIX)
|
||||
|
||||
@@ -7,10 +7,48 @@ set(OCE_DIR ${FREECAD_LIBPACK_DIR}/lib/cmake CACHE PATH "" FORCE)
|
||||
|
||||
set(SWIG_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/swig/swig.exe CACHE FILEPATH "Swig" FORCE)
|
||||
|
||||
set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe CACHE FILEPATH "" FORCE)
|
||||
set(PYTHON_LIBRARY ${FREECAD_LIBPACK_DIR}/lib/python27.lib CACHE FILEPATH "" FORCE)
|
||||
set(PYTHON_DEBUG_LIBRARY ${FREECAD_LIBPACK_DIR}/lib/python27_d.lib CACHE FILEPATH "" FORCE)
|
||||
set(PYTHON_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/python2.7 CACHE PATH "" FORCE)
|
||||
#set(PYTHON_EXECUTABLE ${FREECAD_LIBPACK_DIR}/bin/python.exe CACHE FILEPATH "" FORCE)
|
||||
#set(PYTHON_LIBRARY ${FREECAD_LIBPACK_DIR}/lib/python27.lib CACHE FILEPATH "" FORCE)
|
||||
#set(PYTHON_DEBUG_LIBRARY ${FREECAD_LIBPACK_DIR}/lib/python27_d.lib CACHE FILEPATH "" FORCE)
|
||||
#set(PYTHON_INCLUDE_DIR ${FREECAD_LIBPACK_DIR}/include/python2.7 CACHE PATH "" FORCE)
|
||||
|
||||
if (BUILD_QT5)
|
||||
|
||||
# default Qt5 stuff
|
||||
# Set paths to cmake config files for each Qt module
|
||||
set(Qt5_ROOT_DIR ${FREECAD_LIBPACK_DIR} CACHE PATH "")
|
||||
|
||||
set (Qt5_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5 CACHE PATH "")
|
||||
set (Qt5AxBase_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5AxBase CACHE PATH "")
|
||||
set (Qt5AxContainer_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5AxContainer CACHE PATH "")
|
||||
set (Qt5AxServer_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5AxServer CACHE PATH "")
|
||||
set (Qt5Concurrent_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Concurrent CACHE PATH "")
|
||||
set (Qt5Core_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Core CACHE PATH "")
|
||||
set (Qt5DBus_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5DBus CACHE PATH "")
|
||||
set (Qt5Designer_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Designer CACHE PATH "")
|
||||
set (Qt5Gui_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Gui CACHE PATH "")
|
||||
set (Qt5Help_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Help CACHE PATH "")
|
||||
set (Qt5LinguistTools_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5LinguistTools CACHE PATH "")
|
||||
set (Qt5Multimedia_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Multimedia CACHE PATH "")
|
||||
set (Qt5MultimediaWidgets_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5MultimediaWidgets CACHE PATH "")
|
||||
set (Qt5Network_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Network CACHE PATH "")
|
||||
set (Qt5OpenGL_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5OpenGL CACHE PATH "")
|
||||
set (Qt5OpenGLExtensions_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5OpenGLExtensions CACHE PATH "")
|
||||
set (Qt5PrintSupport_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5PrintSupport CACHE PATH "")
|
||||
set (Qt5Qml_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Qml CACHE PATH "")
|
||||
set (Qt5Quick_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Quick CACHE PATH "")
|
||||
set (Qt5QuickTest_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5QuickTest CACHE PATH "")
|
||||
set (Qt5QuickWidgets_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5QuickWidgets CACHE PATH "")
|
||||
set (Qt5Sql_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Sql CACHE PATH "")
|
||||
set (Qt5Svg_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Svg CACHE PATH "")
|
||||
set (Qt5Test_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Test CACHE PATH "")
|
||||
set (Qt5UiPlugin_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5UiPlugin CACHE PATH "")
|
||||
set (Qt5UiTools_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5UiTools CACHE PATH "")
|
||||
set (Qt5Widgets_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Widgets CACHE PATH "")
|
||||
set (Qt5Xml_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5Xml CACHE PATH "")
|
||||
set (Qt5XmlPatterns_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5XmlPatterns CACHE PATH "")
|
||||
|
||||
endif (BUILD_QT5)
|
||||
|
||||
find_library(XercesC_LIBRARIES xerces-c_3 "${FREECAD_LIBPACK_DIR}/lib")
|
||||
find_library(XercesC_DEBUG_LIBRARIES xerces-c_3D "${FREECAD_LIBPACK_DIR}/lib")
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+22
-17
@@ -1,23 +1,28 @@
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
-DCMAKE_PREFIX_PATH=$PREFIX \
|
||||
-DBUILD_QT5=ON \
|
||||
-DNETGENDATA=$PREFIX/include/netgen \
|
||||
-DNETGEN_INCLUDEDIR=$PREFIX/include/netgen \
|
||||
-DNGLIB_INCLUDE_DIR=$PREFIX/include/nglib \
|
||||
-DOCC_INCLUDE_DIR=$PREFIX/include/opencascade \
|
||||
-DOCC_LIBRARY_DIR=$PREFIX/lib \
|
||||
-DOCC_LIBRARIES=$PREFIX/lib CACHE PATH \
|
||||
-DFREECAD_USE_OCC_VARIANT="Official Version" \
|
||||
-DOCC_OCAF_LIBRARIES=$PREFIX/lib CACHE PATH \
|
||||
-DSWIG_DIR=$PREFIX/share/swig/3.0.8 \
|
||||
-DSWIG_EXECUTABLE=$PREFIX/bin/swig \
|
||||
-DPYTHON_EXECUTABLE=$PYTHON \
|
||||
-DBUILD_FEM_NETGEN=YES \
|
||||
-DUSE_BOOST_PYTHON=NO \
|
||||
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
|
||||
|
||||
+22
-18
@@ -1,38 +1,41 @@
|
||||
package:
|
||||
name: freecad_daily
|
||||
version: 0.17
|
||||
version: 0.18
|
||||
|
||||
build:
|
||||
number: 0
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- nomkl # [unix]
|
||||
- toolchain
|
||||
- gcc # [unix]
|
||||
- vc 14 # [win and py>=35]
|
||||
- ninja # [win and py>=35]
|
||||
- ninja
|
||||
- cmake
|
||||
- nomkl # [unix]
|
||||
- swig
|
||||
- eigen
|
||||
- boost-cpp 1.66.0
|
||||
- pybind11 # [unix]
|
||||
- boost 1.66.0 # [win]
|
||||
- pybind11 # [unix]
|
||||
- python
|
||||
- matplotlib
|
||||
- coin3d
|
||||
- pivy
|
||||
- qt 5.*
|
||||
- pyside2 2.0.0.dev0 py36_0 # [unix]
|
||||
- pyside2 2.0.0.dev0 py36_vc14_0 # [win]
|
||||
- qt 5.6.*
|
||||
- pyside2 5.6.*
|
||||
- occt 7.2.0
|
||||
- netgen
|
||||
- vtk 8.*
|
||||
- libmed
|
||||
- smesh
|
||||
- netgen # [not win32]
|
||||
- vtk 8.1.*
|
||||
- hdf5
|
||||
- xerces-c 3.2.0
|
||||
- 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]
|
||||
@@ -41,16 +44,17 @@ requirements:
|
||||
- matplotlib
|
||||
- coin3d
|
||||
- pivy
|
||||
- qt 5.*
|
||||
- pyside2
|
||||
- occt
|
||||
- netgen
|
||||
- vtk 8.*
|
||||
- libmed
|
||||
- xerces-c 3.2.0
|
||||
- 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
|
||||
|
||||
|
||||
@@ -1,305 +0,0 @@
|
||||
freecad (0.15-1precise3) precise; urgency=low
|
||||
|
||||
* control: added netgen-headers to Build Depends.
|
||||
|
||||
-- Normand Chamberland <gemnoc@gmail.com> Sat, 04 Apr 2015 11:14:23 -0400
|
||||
|
||||
freecad (0.15-1precise2) precise; urgency=low
|
||||
|
||||
* control: added pyside-tools to build deps, broke down python-pyside depends
|
||||
|
||||
-- Normand Chamberland <gemnoc@gmail.com> Thu, 06 Nov 2014 22:10:44 -0500
|
||||
|
||||
freecad (0.15-1precise1) precise; urgency=low
|
||||
|
||||
* Bumped version number as per upstream version
|
||||
|
||||
-- Normand Chamberland <gemnoc@gmail.com> Thu, 07 Aug 2014 11:34:39 -0400
|
||||
|
||||
freecad (0.14-1precise2) precise; urgency=low
|
||||
|
||||
* Set new version number.
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 13 Jul 2013 12:53:55 +0200
|
||||
|
||||
freecad (0.13-1precise2) precise; urgency=low
|
||||
|
||||
* Fix hard dependency on libgl1-mesa-glx preventing installation on
|
||||
Ubuntu 12.04.2 with LTSEnablementStack. Removal of shlibs.local file
|
||||
and libgl1-mesa-dev deleted from BuildDeps.
|
||||
* Removed version number from libsoqt4-dev BD.
|
||||
|
||||
-- Normand Chamberland <gemnoc@gmail.com> Sun, 05 May 2013 18:31:47 -0400
|
||||
|
||||
freecad (0.13-1precise1) precise; urgency=low
|
||||
|
||||
* New release for Ubuntu 12.04 (precise)
|
||||
|
||||
-- Normand Chamberland <gemnoc@gmail.com> Sun, 06 May 2012 14:38:12 -0400
|
||||
|
||||
freecad (0.11.3729.dfsg-2) unstable; urgency=low
|
||||
|
||||
* Add gfortran and libopencascade-visualization-dev to BD
|
||||
to fix FTBFS (closes: #622694)
|
||||
* Add libqtwebkit-dev to BD (closes: #618241)
|
||||
* Delete quilt from BD and corresponding changes in rules.
|
||||
* Add description to freecad-occ650.patch
|
||||
* Delete encoding string from .desktop
|
||||
* Fix some spelling errors, pointed out by lintian.
|
||||
|
||||
-- Anton Gladky <gladky.anton@gmail.com> Thu, 14 Apr 2011 10:23:25 +0100
|
||||
|
||||
freecad (0.11.3729.dfsg-1) unstable; urgency=low
|
||||
|
||||
[ Denis Barbier ]
|
||||
* Merge OpenCASCADE 6.5.0 compatibility patch (closes: #617545).
|
||||
|
||||
[ Adam C. Powell, IV ]
|
||||
* New upstream (closes: #622213, #618241).
|
||||
* Changed to source format 3.0 (quilt).
|
||||
* Added patch target which forces autotools to run, and automake and autoconf
|
||||
are now in Build-Depends (closes: #607181).
|
||||
* Set aside src/Build/Version.h to prevent build problems.
|
||||
* Does not install .la files (closes: #621298).
|
||||
* Boost 1.46 compatibility patch (closes: #621877).
|
||||
* Set aside files which autotools modifies so clean works.
|
||||
* Added libtool to Build-Depends (thanks: PICCA Frédéric-Emmanuel).
|
||||
* Bumped Standards-Version, no changes needed.
|
||||
|
||||
-- "Adam C. Powell, IV" <hazelsct@debian.org> Tue, 12 Apr 2011 23:40:30 -0400
|
||||
|
||||
freecad (0.10.3247.dfsg-2ubuntu3) natty; urgency=low
|
||||
|
||||
* Fix build failure with ld --as-needed.
|
||||
|
||||
-- Matthias Klose <doko@ubuntu.com> Wed, 15 Dec 2010 01:12:39 +0100
|
||||
|
||||
freecad (0.10.3247.dfsg-2ubuntu2) natty; urgency=low
|
||||
|
||||
* Rebuild with python 2.7 as the python default.
|
||||
|
||||
-- Matthias Klose <doko@ubuntu.com> Thu, 09 Dec 2010 16:46:45 +0000
|
||||
|
||||
freecad (0.10.3247.dfsg-2ubuntu1) natty; urgency=low
|
||||
|
||||
* Merge from debian unstable. Remaining changes:
|
||||
- build on libqtwebkit-dev for qtwebkit transition
|
||||
|
||||
-- Bhavani Shankar <bhavi@ubuntu.com> Wed, 20 Oct 2010 08:40:53 +0530
|
||||
|
||||
freecad (0.10.3247.dfsg-2) unstable; urgency=low
|
||||
|
||||
* control:
|
||||
- Update to standars-version 3.9.0.
|
||||
- Remove libblas-dev, libatlas-dev from build-deps.
|
||||
* Add debian/shlibs.local file containing the correct binary dep
|
||||
to libsoqt4-20 (closes: #575239).
|
||||
* copyright: Add a verbatim copy of Tiddlywiki BSD license. Fixes
|
||||
the lintian warning copyright-refers-to-deprecated-bsd-license-file.
|
||||
* Add kFreeBSD portability fixes. Thanks to Petr Salinger
|
||||
<Petr.Salinger@seznam.cz> for the patch (closes: #592461).
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Wed, 18 Aug 2010 19:34:36 +0200
|
||||
|
||||
freecad (0.10.3247.dfsg-1ubuntu2) maverick; urgency=low
|
||||
|
||||
* Rebuild on libqtwebkit-dev for qtwebkit transition
|
||||
|
||||
-- Jonathan Riddell <jriddell@ubuntu.com> Wed, 21 Jul 2010 10:06:31 +0100
|
||||
|
||||
freecad (0.10.3247.dfsg-1ubuntu1) maverick; urgency=low
|
||||
|
||||
* Merge from Debian unstable, remaining changes:
|
||||
- debian/control: Build-Depends on libqt4-webkit-dev due to
|
||||
QtWebKit is no longer part of libqt4-dev (LP: #604078)
|
||||
|
||||
-- Artur Rona <ari-tczew@tlen.pl> Sat, 10 Jul 2010 21:06:47 +0200
|
||||
|
||||
freecad (0.10.3247.dfsg-1) unstable; urgency=low
|
||||
|
||||
* New upstream version (closes: #582627)
|
||||
* Add debian/source/format file with contents "1.0".
|
||||
* Use freecad.xpm as icon in menu and desktop files.
|
||||
* copyright: Add licensing information for new files in this release.
|
||||
* src/Base/Makefile.in, src/Gui/Makefile.in: Do not remove *.tab.c files
|
||||
in make distclean target.
|
||||
* control:
|
||||
- Add build-dep to libeigen2-dev.
|
||||
- Update to standards-version 3.8.4.
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Mon, 05 Jul 2010 15:07:49 +0200
|
||||
|
||||
freecad (0.9.2646.5.dfsg-1ubuntu1) maverick; urgency=low
|
||||
|
||||
* Add build-dep on libqt4-webkit-dev to fix FTBFS with Qt 4.7
|
||||
|
||||
-- Scott Kitterman <scott@kitterman.com> Sat, 19 Jun 2010 00:37:12 -0400
|
||||
|
||||
freecad (0.9.2646.5.dfsg-1) unstable; urgency=low
|
||||
|
||||
* Add 'dfsg' extension to upstream version, upstream sources are unchanged.
|
||||
* Remove libgl1-mesa-dev build-dep, rely on libcoin to pull in GL libraries.
|
||||
* Change build-dep libatlas-headers to libatlas-dev (closes: #577309).
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Fri, 14 May 2010 17:20:35 +0200
|
||||
|
||||
freecad (0.9.2646.5-1) unstable; urgency=low
|
||||
|
||||
* New upstream version (closes: #561696).
|
||||
* Added swig to Build-Depends (closes: #563523, #563772).
|
||||
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).
|
||||
|
||||
-- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
|
||||
|
||||
freecad (0.9.2646.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream version (closes: #559849, #559846).
|
||||
|
||||
-- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
|
||||
|
||||
freecad (0.9.2646.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream version. Removes TiddlySaver.jar, fixes help problems.
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
|
||||
|
||||
freecad (0.9.2646-1) unstable; urgency=low
|
||||
|
||||
[ Werner Mayer ]
|
||||
* New upstream release
|
||||
* In-source copy of PyCXX has been dropped (closes: #547936)
|
||||
* In-source copy of zipios++ has been dropped (closes: #547941)
|
||||
* Change build-dependency on python2.5-dev to python-dev
|
||||
* Add freecad-doc binary package
|
||||
* Remove Suggestion of a chm viewer, suggest freecad-doc instead
|
||||
|
||||
[ Teemu Ikonen ]
|
||||
* Add override to dh_compress
|
||||
* Add versioned build-deb to debhelper (>= 7.0.50)
|
||||
* Add build-deps to libzipios++-dev and python-cxx-dev.
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
|
||||
|
||||
freecad (0.8.2237-2) unstable; urgency=low
|
||||
|
||||
* Added libboost-python-dev to Build-Depends (closes: #549738).
|
||||
* Added myself to uploaders list.
|
||||
* Bumped Standards-Version.
|
||||
|
||||
-- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
|
||||
|
||||
freecad (0.8.2237-1) unstable; urgency=low
|
||||
|
||||
* New Upstream release
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
|
||||
|
||||
freecad (0.7.1658-1) UNRELEASED; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
|
||||
|
||||
freecad (0.7.1514-1) UNRELEASED; urgency=low
|
||||
|
||||
* New upstream version
|
||||
* Add more stuff to the copyright file
|
||||
* control: add build-dep to python-central
|
||||
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
|
||||
freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
|
||||
|
||||
* Package for Ubuntu 8.04 (Hardy Heron)
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
|
||||
freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
|
||||
|
||||
* Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
|
||||
freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
|
||||
|
||||
* Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
|
||||
freecad (0.7.1350-1) UNRELEASED; urgency=low
|
||||
|
||||
* New upstream release from sf.net
|
||||
* Import to debian-science repository at git.debian.org
|
||||
* control:
|
||||
- Update to standards-version 3.7.3
|
||||
- Add Vcs-* fields pointing to git.debian.org
|
||||
- Improve descriptions
|
||||
* Convert copyright to (pseudo) machine readable format, audit source
|
||||
* Fix categories in .desktop file
|
||||
* Change Section to Science/Engineering in .doc-base and menu files
|
||||
* rules: do not ignore errors on clean target, add dh_desktop call
|
||||
-- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
|
||||
|
||||
freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
|
||||
|
||||
* New package with fixed self-dependency problem
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
|
||||
freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
|
||||
|
||||
* New debian package for Feisty
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
|
||||
freecad (0.7.1344-1) UNRELEASED; urgency=low
|
||||
|
||||
* Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
dependency to libopencascade6.2
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
|
||||
freecad (0.7.1343-1) UNRELEASED; urgency=low
|
||||
|
||||
* Embed required OpenCASCADE libs into this package as long as no official
|
||||
Debian package is available
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
|
||||
freecad (0.7.1342-1) UNRELEASED; urgency=low
|
||||
|
||||
* Switch to new versioning scheme of OpenCASCADE packages
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
|
||||
freecad (0.7.1316-1) UNRELEASED; urgency=low
|
||||
|
||||
* Support of pivy (Python binding for Coin/SoQt)
|
||||
* Support of PyQt4
|
||||
* General support of SWIG modules
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
|
||||
freecad (0.7.1031-1) UNRELEASED; urgency=low
|
||||
|
||||
* Qt4 port finished
|
||||
* Support of Python binding for Qt4
|
||||
* Support of Python binding for Coin
|
||||
* Support of entirely in Python written modules
|
||||
* Added support of model driven architecture for Python binding
|
||||
* Use boost's signal/slot mechanism to update data
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
|
||||
freecad (0.7.645-1) UNRELEASED; urgency=low
|
||||
|
||||
* Qt4 port started
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
|
||||
freecad (0.6.472-1) UNRELEASED; urgency=low
|
||||
|
||||
* Initial Release
|
||||
|
||||
-- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
7
|
||||
@@ -1,69 +0,0 @@
|
||||
Source: freecad
|
||||
Section: science
|
||||
Priority: extra
|
||||
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>, Anton Gladky <gladky.anton@gmail.com>
|
||||
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
|
||||
Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
|
||||
Homepage: http://www.freecadweb.org/
|
||||
Build-Depends: debhelper (>= 7.0.50~), cmake,
|
||||
libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
|
||||
libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
|
||||
libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
|
||||
libboost-thread-dev, libboost-python-dev, python-dev, python-support,
|
||||
libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
|
||||
libcoin60-dev, libsoqt4-dev, libeigen3-dev,
|
||||
zlib1g-dev, libxerces-c2-dev, liboce-foundation-dev,
|
||||
liboce-modeling-dev, liboce-ocaf-dev, liboce-visualization-dev,
|
||||
python-cxx-dev, libswscale-dev, libzipios++-dev, swig, gfortran,
|
||||
f2c, libqtwebkit-dev, libspnav-dev, libfreetype6-dev, libfreeimage-dev,
|
||||
libpyside-dev, libshiboken-dev, pyside-tools, netgen-headers
|
||||
Standards-Version: 3.9.3
|
||||
|
||||
Package: freecad
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pyside.qtcore,
|
||||
python-pyside.qtsvg, python-pyside.qtuitools
|
||||
Recommends: python-pivy, python
|
||||
Suggests: freecad-doc
|
||||
Description: Extensible Open Source CAx program (beta)
|
||||
FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
It features some key concepts like macro recording, workbenches, ability
|
||||
to run as a server and dynamically loadable application extensions and
|
||||
it is designed to be platform independent.
|
||||
.
|
||||
Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
Editing and modeling features are currently somewhat limited.
|
||||
|
||||
Package: freecad-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
|
||||
Description: FreeCAD development files
|
||||
FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
It features some key concepts like macro recording, workbenches, ability
|
||||
to run as a server and dynamically loadable application extensions and
|
||||
it is designed to be platform independent.
|
||||
For more details see http://sourceforge.net/projects/free-cad
|
||||
.
|
||||
This package contains headers and symlinks necessary to
|
||||
develop modules for FreeCAD.
|
||||
|
||||
Package: freecad-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends}, qt4-dev-tools
|
||||
Description: FreeCAD documentation
|
||||
FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
It features some key concepts like macro recording, workbenches, ability
|
||||
to run as a server and dynamically loadable application extensions and
|
||||
it is designed to be platform independent.
|
||||
For more details see http://sourceforge.net/projects/free-cad
|
||||
.
|
||||
This package contains the FreeCAD documentation.
|
||||
.
|
||||
The documentation is provided in Qt's new help format;
|
||||
the new help format version can be viewed in conjunction with the Qt Assistant
|
||||
found in the qt4-dev-tools package.
|
||||
|
||||
@@ -1,275 +0,0 @@
|
||||
Format: http://dep.debian.net/deps/dep5/
|
||||
Upstream-Contact: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
X-Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
Source: http://sourceforge.net/projects/free-cad
|
||||
|
||||
Files: *
|
||||
Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
Werner Mayer <wmayer@users.sourceforge.net>
|
||||
License: LGPL-2+
|
||||
This package is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this package; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
.
|
||||
On Debian systems, the complete text of the GNU Lesser General Public
|
||||
License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
|
||||
Files: src/3rdParty/boost/numeric/bindings/*
|
||||
Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
|
||||
Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
|
||||
License: other-boost-1.0
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
.
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
.
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
|
||||
src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
|
||||
Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
|
||||
License: other
|
||||
* Permission to copy, modify, use and distribute this software
|
||||
* for any non-commercial or commercial purpose is granted provided
|
||||
* that this license appear on all copies of the software source code.
|
||||
*
|
||||
* Authors assume no responsibility whatsoever for its use and makes
|
||||
* no guarantees about its quality, correctness or reliability.
|
||||
*
|
||||
* KF acknowledges the support of the Faculty of Civil Engineering,
|
||||
* University of Zagreb, Croatia.
|
||||
|
||||
Files: src/Base/Base64.*
|
||||
Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
|
||||
License: other
|
||||
This source code is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the author be held liable for any damages
|
||||
arising from the use of this software.
|
||||
.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
.
|
||||
1. The origin of this source code must not be misrepresented; you must not
|
||||
claim that you wrote the original source code. If you use this source code
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original source code.
|
||||
.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Files: src/Base/fdstream.hpp
|
||||
Copyright: 2001 Nicolai M. Josuttis
|
||||
License: other
|
||||
Permission to copy, use, modify, sell and distribute this software
|
||||
is granted provided this copyright notice appears in all copies.
|
||||
This software is provided "as is" without express or implied
|
||||
warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
Files: src/Base/gzstream.*
|
||||
Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files: src/Base/PyTools.*
|
||||
Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
License: other
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
for any purpose and without fee is hereby granted. This software
|
||||
is provided on an as is basis, without warranties of any kind.
|
||||
|
||||
Files: src/Doc/Start_Page.html
|
||||
Copyright: 2004-2009 UnaMesa Association
|
||||
License: BSD
|
||||
Copyright (c) UnaMesa Association 2004-2009
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
.
|
||||
Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
.
|
||||
Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
.
|
||||
Neither the name of the UnaMesa Association nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS
|
||||
IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Files: src/Doc/Start_Page.html
|
||||
Copyright: 2009 John Resig
|
||||
License: GPL-2 or MIT
|
||||
On Debian systems, the complete text of the GNU General Public License
|
||||
version 2 can be found in '/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Files: src/Doc/Start_Page.html
|
||||
Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
|
||||
License: GPL-2 or MIT or BSD
|
||||
|
||||
Files: src/Gui/iisTaskPanel/src/*
|
||||
Copyright: http://www.ii-system.com
|
||||
License: LGPL
|
||||
|
||||
Files: src/Mod/Draft/*
|
||||
Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/Mod/Draft/draftlibs/dxf*
|
||||
Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/Mod/Draft/WorkingPlane.py
|
||||
Copyright: 2009-2010 Ken Cline <cline@frii.com>
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
src/Mod/Mesh/App/Core/*
|
||||
Copyright: 2005 Imetric 3D GmbH
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
|
||||
Copyright: 2005 Berthold Grupp
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
Copyright: 2005 Berthold Grupp
|
||||
License: LGPL
|
||||
|
||||
Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
|
||||
src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
|
||||
Copyright: 2004 Imetric 3D GmbH
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
Copyright: 1997 Tomas Moller <tam@cs.lth.se>
|
||||
License: other
|
||||
tritritest.h has no licensing information, but Tomas Moller replied
|
||||
the following, when asked about it:
|
||||
.
|
||||
The code is free to use for anyone and any projects, but I give no
|
||||
warranties.
|
||||
|
||||
Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files: src/Mod/Part/App/edgecluster.*
|
||||
Copyright: 2010 Joachim Zettler <Joachim.Zettler@gmx.de>
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/Mod/Raytracing/App/resources/*
|
||||
Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
Juergen Riegel <juergen.riegel@web.de>
|
||||
License: LGPL-2+
|
||||
|
||||
Files: src/Mod/Sketcher/App/sketchflat/*
|
||||
Copyright: 2008 Jonathan Westhues
|
||||
License: GPL-3+
|
||||
On Debian systems, the complete text of the GNU General Public License
|
||||
version 3 can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: src/Mod/Sketcher/App/sketchsolve_cp/*
|
||||
Copyright: 2009 Jonathan George
|
||||
License: BSD
|
||||
|
||||
Files: src/Mod/Test/unittestgui.py
|
||||
Copyright: 1999-2001 Steve Purcell
|
||||
License: PSF
|
||||
This module is free software, and you may redistribute it and/or modify
|
||||
it under the same terms as Python itself, so long as this copyright message
|
||||
and disclaimer are retained in their original form.
|
||||
.
|
||||
IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGE.
|
||||
.
|
||||
THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
|
||||
Files: src/Mod/Part/MakeBottle.py, src/Tools/*
|
||||
Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
Werner Mayer <wmayer@users.sourceforge.net>
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/Tools/generateBase/generateDS.py
|
||||
Copyright: 2003 Dave Kuhlman
|
||||
License: MIT
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
|
||||
Teemu Ikonen <tpikonen@gmail.com>
|
||||
License: LGPL-2+
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,997 +0,0 @@
|
||||
--- freecad-0.8.2237.orig/debian/changelog
|
||||
+++ freecad-0.8.2237/debian/changelog
|
||||
@@ -0,0 +1,155 @@
|
||||
+freecad (0.8.2237-1intrepid1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Jul 2009 20:36:40 +0200
|
||||
+
|
||||
+freecad (0.7.2008-1intrepid1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 21 Mar 2009 19:23:57 +0100
|
||||
+
|
||||
+freecad (0.7.1779-1intrepid1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 14 Dec 2008 15:20:54 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1intrepid1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 12 Oct 2008 16:20:54 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1hardy1) hardy; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 18:45:20 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1gutsy1) gutsy; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 15:56:27 +0200
|
||||
+
|
||||
+freecad (0.7.1525-1feisty1) feisty; urgency=low
|
||||
+
|
||||
+ * Activate MIME support in rules file
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 5 Aug 2008 21:27:46 +0200
|
||||
+
|
||||
+freecad (0.7.1522-1feisty1) feisty; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 7.04 (Feisty Fawn)
|
||||
+ * Abstract interface for geometric data types
|
||||
+ * Avoid flickering of cursor when cutting several meshes at once
|
||||
+ * Update to the latest debian policy version 3.7.3
|
||||
+ * Several bugs fixed with Python GIL
|
||||
+ * Providing a dev package for freecad
|
||||
+ * Make TopoDS_Shape and Geom_Geometry classes accessible from Python
|
||||
+ * Make Python interface for algorithms on shapes and geometries
|
||||
+ * Support of mesh segments
|
||||
+ * Add test/annotation object
|
||||
+ * Add simple measurement facility
|
||||
+ * Remove OpenCascade dependency in Mesh module
|
||||
+ * Thumbnail facility added
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 04 Aug 2008 20:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) hardy; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) gutsy; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) feisty; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) unstable; urgency=low
|
||||
+
|
||||
+ * Official release for version 0.7
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Fri, 23 May 2008 23:39:47 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) feisty; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) feisty; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) unstable; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) unstable; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) unstable; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) unstable; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) unstable; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) unstable; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) unstable; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/menu
|
||||
+++ freecad-0.8.2237/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/FCIcon.xpm"
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/freecad.doc-base
|
||||
+++ freecad-0.8.2237/debian/freecad.doc-base
|
||||
@@ -0,0 +1,14 @@
|
||||
+Document: freecad
|
||||
+Title: FreeCAD Manual
|
||||
+Author: Werner Mayer
|
||||
+Abstract: An extensible Open Source CAx program for Unix/X11
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+Section: Science/Engineering
|
||||
+
|
||||
+Format: text
|
||||
+Files: /usr/share/doc/freecad/README.Linux.gz
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/compat
|
||||
+++ freecad-0.8.2237/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+5
|
||||
--- freecad-0.8.2237.orig/debian/freecad.links
|
||||
+++ freecad-0.8.2237/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.8.2237.orig/debian/copyright
|
||||
+++ freecad-0.8.2237/debian/copyright
|
||||
@@ -0,0 +1,393 @@
|
||||
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
|
||||
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Original-Source-Location: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/ANN/*
|
||||
+Copyright: 1997-2005 University of Maryland and Sunil Arya and David Mount
|
||||
+License: LGPL-2.1+
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||
+
|
||||
+Files: src/3rdParty/atlas/clapack.h
|
||||
+Copyright: 1999 R. Clint Whaley
|
||||
+License: BSD-3
|
||||
+ On Debian systems, the complete text of the Three-clause BSD license
|
||||
+ can be found in `/usr/share/common-licenses/BSD'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2004 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Matthias Troyer
|
||||
+License: other
|
||||
+ Permission to copy, modify, use and distribute this software
|
||||
+ for any non-commercial or commercial purpose is granted provided
|
||||
+ that this license appear on all copies of the software source code.
|
||||
+ .
|
||||
+ Author assumes no responsibility whatsoever for its use and makes
|
||||
+ no guarantees about its quality, correctness or reliability.
|
||||
+ .
|
||||
+ Kresimir Fresl acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/amos/*,
|
||||
+ src/3rdParty/boost/numeric/bindings/blas/*,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/config.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/fortran.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/matrix_raw.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/symm_herm_raw.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/vector_raw.hpp,
|
||||
+Copyright: 2002-2003 Toon Knapen, Kresimir Fresl, Si-Lab b.v.b.a, Joerg Walter
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, distribute and sell this software
|
||||
+ and its documentation for any purpose is hereby granted without fee,
|
||||
+ provided that the above copyright notice appear in all copies and
|
||||
+ that both that copyright notice and this permission notice appear
|
||||
+ in supporting documentation. The authors make no representations
|
||||
+ about the suitability of this software for any purpose.
|
||||
+ It is provided "as is" without express or implied warranty.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/traits/type.h
|
||||
+Copyright: 2000,2001,2002,2003 Si-Lab b.v.b.a. and Toon Knapen
|
||||
+License: other-non-free
|
||||
+ * License is hereby granted to use and modify this software
|
||||
+ * as long as this copyright notice is retained and modifications
|
||||
+ * are clearly marked.
|
||||
+ * This License does not permit you to redistribute this software.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/steqr.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/lapack/sytrd.hpp
|
||||
+Copyright: 2007 Karl Meerbergen
|
||||
+License: other
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/OCCAdaptMesh/*
|
||||
+Copyright: 1991-2000 Matra Datavision SA, 2001-2004 Open CASCADE SA
|
||||
+License: other
|
||||
+ This file is part of the Open CASCADE Technology software.
|
||||
+ .
|
||||
+ This software may be distributed and/or modified under the terms and
|
||||
+ conditions of the Open CASCADE Public License as defined by Open CASCADE SA
|
||||
+ and appearing in the file LICENSE included in the packaging of this file.
|
||||
+ .
|
||||
+ This software is distributed on an "AS IS" basis, without warranty of any
|
||||
+ kind, and Open CASCADE SA hereby disclaims all such warranties,
|
||||
+ including without limitation, any warranties of merchantability, fitness
|
||||
+ for a particular purpose or non-infringement. Please see the License for
|
||||
+ the specific terms and conditions governing rights and limitations under the
|
||||
+ License.
|
||||
+
|
||||
+Files: src/3rdParty/Pivy/*
|
||||
+Copyright: 2002-2007 Systems in Motion
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software for any
|
||||
+ purpose with or without fee is hereby granted, provided that the above
|
||||
+ copyright notice and this permission notice appear in all copies.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyCXX/*
|
||||
+Copyright: ???
|
||||
+License: ???
|
||||
+
|
||||
+Files: src/Base/PyTools.h
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Base/zipios/*
|
||||
+Copyright: 2000 Thomas Søndergaard
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Base/zipios/directory.*
|
||||
+Copyright: 1998 Dietmar Kuehl, Claas Solutions GmbH
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, distribute and sell this
|
||||
+ software for any purpose is hereby granted without fee, provided
|
||||
+ that the above copyright notice appears in all copies and that
|
||||
+ both that copyright notice and this permission notice appear in
|
||||
+ supporting documentation. Dietmar Kuehl and Claas Solutions make no
|
||||
+ representations about the suitability of this software for any
|
||||
+ purpose. It is provided "as is" without express or implied warranty.
|
||||
+
|
||||
+Files: src/Gui/SoFCOffscreenRenderer.cpp
|
||||
+Copyright: ???
|
||||
+License: ???
|
||||
+/*
|
||||
+ * wrjpgcom.c
|
||||
+ *
|
||||
+ * Copyright (C) 1994, Thomas G. Lane.
|
||||
+ * This file is part of the Independent JPEG Group's software.
|
||||
+ * For conditions of distribution and use, see the accompanying README file.
|
||||
+ *
|
||||
+ * This file contains a very simple stand-alone application that inserts
|
||||
+ * user-supplied text as a COM (comment) marker in a JFIF file.
|
||||
+ * This may be useful as an example of the minimum logic needed to parse
|
||||
+ * JPEG markers.
|
||||
+ */
|
||||
+
|
||||
+Files: src/Mod/Cam/App/*
|
||||
+Copyright: 2007 Joachim Zettler <Joachim.Zettler@gmx.de>,
|
||||
+ Human Rezai <human@mytum.de>,
|
||||
+ Mohamad Najib Muhammad Noor <najib_bean@yahoo.co.uk>,
|
||||
+ Stephane Routelous <stephane.routelous@exotk.org>,
|
||||
+ Jürgen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*,
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: ???
|
||||
+
|
||||
+Files: src/Mod/Drawing/Gui/DrawingView.*, src/Mod/Image/App/ImageBase.*,
|
||||
+ src/Mod/Image/Gui/GLImageBox.*, src/Mod/Image/Gui/ImageView.*,
|
||||
+ src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: ??? Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/triangle.cpp, src/Mod/Mesh/App/Core/triangle.h,
|
||||
+ src/3rdParty/OCCAdaptMesh/src/TriangleAdapt/triangleAdapt.c,
|
||||
+ src/3rdParty/OCCAdaptMesh/Include/triangleAdapt.h
|
||||
+Copyright: 1993, 1995, 1997, 1998, 2002, 2005 Jonathan Richard Shewchuk
|
||||
+License: other-non-free
|
||||
+ /* This program may be freely redistributed under the condition that the *
|
||||
+ /* copyright notices (including this entire header and the copyright *
|
||||
+ /* notice printed when the `-h' switch is selected) are not removed, and *
|
||||
+ /* no compensation is received. Private, research, and institutional *
|
||||
+ /* use is free. You may distribute modified versions of this code UNDER *
|
||||
+ /* THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE *
|
||||
+ /* SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE *
|
||||
+ /* AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR *
|
||||
+ /* NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code as *
|
||||
+ /* part of a commercial system is permissible ONLY BY DIRECT ARRANGEMENT *
|
||||
+ /* WITH THE AUTHOR. (If you are not directly supplying this code to a *
|
||||
+ /* customer, and you are instead telling them how they can obtain it for *
|
||||
+ /* free, then you are not required to make any arrangement with me.) *
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller
|
||||
+License: ???
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Tools/ImageTools/ImageConv/CmdLine.*,
|
||||
+ src/Tools/ImageTools/ImageConv/cmdline.htm
|
||||
+Copyright: 1999 Chris Losinger, Smaller Animals Software
|
||||
+ http://www.smalleranimals.com
|
||||
+License: ZLIB
|
||||
+ This software is provided 'as-is', without any express
|
||||
+ or implied warranty. In no event will the authors be
|
||||
+ held liable for any damages arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software
|
||||
+ for any purpose, including commercial applications, and
|
||||
+ to alter it and redistribute it freely, subject to the
|
||||
+ following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this software must not be misrepresented;
|
||||
+ you must not claim that you wrote the original software.
|
||||
+ If you use this software in a product, an acknowledgment
|
||||
+ in the product documentation would be appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such,
|
||||
+ and must not be misrepresented as being the original software.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source
|
||||
+ distribution.
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/atlas/cblas.h,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/algorithm.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/transpose.hpp
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/type.hpp
|
||||
+ src/App/ComplexGeoDataPyImp.cpp,
|
||||
+ src/App/DocumentObjectPyImp.cpp
|
||||
+ src/App/DocumentPyImp.cpp
|
||||
+ src/App/Doxygen.cpp
|
||||
+ src/App/FeaturePyImp.cpp
|
||||
+ src/App/PreCompiled.cpp
|
||||
+ src/App/PreCompiled.h
|
||||
+ src/App/PropertyContainerPyImp.cpp
|
||||
+ src/Base/BaseClassPyImp.cpp
|
||||
+ src/Base/BoundBoxPyImp.cpp
|
||||
+ src/Base/Doxygen.cpp
|
||||
+ src/Base/PersistancePyImp.cpp
|
||||
+ src/Base/PreCompiled.cpp
|
||||
+ src/Base/PreCompiled.h
|
||||
+ src/Base/PyExport.h
|
||||
+ src/Base/PyTools.c
|
||||
+ src/Base/VectorPyImp.cpp
|
||||
+ src/Base/zipios/meta-iostreams.h
|
||||
+ src/Gui/InventorAll.h
|
||||
+ src/Gui/PreCompiled.cpp
|
||||
+ src/Gui/PreCompiled.h
|
||||
+ src/Gui/Qt4All.h
|
||||
+ src/Gui/SoFCBoundingBox.cpp
|
||||
+ src/Gui/SoFCBoundingBox.h
|
||||
+ src/Mod/Cam/App/PreCompiled.h
|
||||
+ src/Mod/Cam/App/PreCompiled.cpp
|
||||
+ src/Mod/Cam/Gui/PreCompiled.h
|
||||
+ src/Mod/Cam/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Drawing/App/PreCompiled.h
|
||||
+ src/Mod/Drawing/App/PreCompiled.cpp
|
||||
+ src/Mod/Drawing/Gui/PreCompiled.h
|
||||
+ src/Mod/Drawing/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Drawing/Gui/AppDrawingGui.cpp
|
||||
+ src/Mod/Image/App/CaptureClass.h
|
||||
+ src/Mod/Image/App/PreCompiled.h
|
||||
+ src/Mod/Image/App/CaptureClass.cpp
|
||||
+ src/Mod/Image/App/PreCompiled.cpp
|
||||
+ src/Mod/Image/Gui/PreCompiled.h
|
||||
+ src/Mod/Image/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Import/App/PreCompiled.h
|
||||
+ src/Mod/Import/App/PreCompiled.cpp
|
||||
+ src/Mod/Import/Gui/PreCompiled.h
|
||||
+ src/Mod/Import/Gui/PreCompiled.cpp
|
||||
+ src/Mod/JtReader/App/PreCompiled.h
|
||||
+ src/Mod/JtReader/App/JtReader.h
|
||||
+ src/Mod/JtReader/App/PreCompiled.cpp
|
||||
+ src/Mod/Mesh/App/Doxygen.cpp
|
||||
+ src/Mod/Mesh/App/PreCompiled.h
|
||||
+ src/Mod/Mesh/App/MeshPointPyImp.cpp
|
||||
+ src/Mod/Mesh/App/PreCompiled.cpp
|
||||
+ src/Mod/Mesh/Gui/Doxygen.cpp
|
||||
+ src/Mod/Mesh/Gui/PreCompiled.h
|
||||
+ src/Mod/Mesh/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Part/App/TopoShapeFacePyImp.cpp
|
||||
+ src/Mod/Part/App/OpenCascadeAll.h
|
||||
+ src/Mod/Part/App/PreCompiled.h
|
||||
+ src/Mod/Part/App/TopoShapePyImp.cpp
|
||||
+ src/Mod/Part/App/PreCompiled.cpp
|
||||
+ src/Mod/Part/App/PartFeaturePyImp.cpp
|
||||
+ src/Mod/Part/Gui/PreCompiled.h
|
||||
+ src/Mod/Part/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Points/App/PreCompiled.h
|
||||
+ src/Mod/Points/App/PreCompiled.cpp
|
||||
+ src/Mod/Points/Gui/AppPointsGui.cpp
|
||||
+ src/Mod/Points/Gui/PreCompiled.h
|
||||
+ src/Mod/Points/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Raytracing/App/PreCompiled.h
|
||||
+ src/Mod/Raytracing/App/PreCompiled.cpp
|
||||
+ src/Mod/Raytracing/Gui/AppRaytracingGui.cpp
|
||||
+ src/Mod/Raytracing/Gui/Command.cpp src
|
||||
+ src/Mod/Raytracing/Gui/PreCompiled.h
|
||||
+ src/Mod/Raytracing/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Test/Gui/PreCompiled.h
|
||||
+ src/Mod/Test/Gui/PreCompiled.cpp
|
||||
+Copyright: Not marked
|
||||
+License: ???
|
||||
--- freecad-0.8.2237.orig/debian/freecad.desktop
|
||||
+++ freecad-0.8.2237/debian/freecad.desktop
|
||||
@@ -0,0 +1,19 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/FCIcon.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.8.2237.orig/debian/control
|
||||
+++ freecad-0.8.2237/debian/control
|
||||
@@ -0,0 +1,50 @@
|
||||
+Source: freecad
|
||||
+Section: x11
|
||||
+Priority: optional
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Homepage: http://sourceforge.net/projects/free-cad
|
||||
+Build-Depends: debhelper (>= 5), autotools-dev, libc6-dev (>= 2.1.3),
|
||||
+ libstdc++6, libboost1.35-dev, libboost-date-time1.35-dev, libboost-filesystem1.35-dev,
|
||||
+ libboost-graph1.35-dev, libboost-iostreams1.35-dev, libboost-program-options1.35-dev,
|
||||
+ libboost-regex1.35-dev, libboost-serialization1.35-dev, libboost-signals1.35-dev, libboost-system1.35-dev,
|
||||
+ zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
|
||||
+ libxt-dev, libxmu-dev, libxi-dev, libx11-dev, libxext-dev,
|
||||
+ libqt4-dev, libsoqt4-dev, libcoin40-dev, libgl1-mesa-dev,
|
||||
+ python2.5-dev, python, python-central (>= 0.5.6),
|
||||
+ libgts-dev, libcv-dev, libopencascade-dev
|
||||
+Standards-Version: 3.7.3
|
||||
+XS-Python-Version: current
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Section: science
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+XB-Python-Version: ${python:Versions}
|
||||
+Conflicts: freecad (<= 0.6.472-1)
|
||||
+Suggests: gnochm | kchmviewer | kchmviewer-nokde | xchm, python-opencv
|
||||
+Description: An extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: freecad (>= ${source:Version})
|
||||
+XB-Python-Version: ${python:Versions}
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the libtool .la files, headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.8.2237/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
--- freecad-0.8.2237.orig/debian/docs
|
||||
+++ freecad-0.8.2237/debian/docs
|
||||
@@ -0,0 +1,2 @@
|
||||
+ChangeLog.txt
|
||||
+README.Linux
|
||||
--- freecad-0.8.2237.orig/debian/README.Debian
|
||||
+++ freecad-0.8.2237/debian/README.Debian
|
||||
@@ -0,0 +1,6 @@
|
||||
+freecad for Debian
|
||||
+------------------
|
||||
+
|
||||
+- First Debian package for FreeCAD.
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net>, Tue, 26 Sep 2006 16:55:15 +0200
|
||||
--- freecad-0.8.2237.orig/debian/freecad.1
|
||||
+++ freecad-0.8.2237/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.8.2237.orig/debian/rules
|
||||
+++ freecad-0.8.2237/debian/rules
|
||||
@@ -0,0 +1,143 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+# Sample debian/rules that uses debhelper.
|
||||
+# This file was originally written by Joey Hess and Craig Small.
|
||||
+# As a special exception, when this file is copied by dh-make into a
|
||||
+# dh-make output file, you may use that output file without restriction.
|
||||
+# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure: autogen.sh
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+# Add here commands to configure the package.
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade --with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+
|
||||
+# Add here commands to compile the package.
|
||||
+ $(MAKE)
|
||||
+ #docbook-to-man debian/freecad.sgml > freecad.1
|
||||
+
|
||||
+ touch $@
|
||||
+
|
||||
+# Add here commands to clean up after the build process.
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ rm -f build-stamp
|
||||
+ [ ! -f Makefile ] || $(MAKE) distclean
|
||||
+ rm -f configure
|
||||
+ dh_clean
|
||||
+ find -name 'Makefile.in' | xargs rm -f
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh
|
||||
+ rm -f ltmain.sh missing config.log libtool
|
||||
+
|
||||
+install: build
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+
|
||||
+# Add here commands to install the package into debian/tmp/freecad.
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+
|
||||
+# install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/* usr/share/
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+
|
||||
+# install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+# special treating of Draft module
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+
|
||||
+# special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+# Build architecture-independent files here.
|
||||
+binary-indep: build install
|
||||
+# We have nothing to do by default.
|
||||
+
|
||||
+# Build architecture-dependent files here.
|
||||
+binary-arch: build install
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_install debian/mime/freecad-thumbnailer usr/bin
|
||||
+ dh_install debian/mime/freecad.schemas etc/gconf/schemas
|
||||
+ dh_gconf -pfreecad
|
||||
+ dh_desktop
|
||||
+ dh_installmenu
|
||||
+ dh_installmime
|
||||
+ dh_pycentral
|
||||
+# dh_installinfo
|
||||
+# dh_installman debian/freecad.1
|
||||
+ dh_installman debian/freecad.1 debian/mime/freecad-thumbnailer.1
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_makeshlibs
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer.1
|
||||
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer.1
|
||||
@@ -0,0 +1,20 @@
|
||||
+.TH FREECAD 1 "August 04, 2008" freecad "Linux User's Manual"
|
||||
+.SH NAME
|
||||
+freecad-thumbnailer \- A thumbnailer for FreeCAD project files
|
||||
+.SH SYNOPSIS
|
||||
+\fBfreecad-thumbnailer\fP [ -s \fIsize\fP ] \fIinput file\fP \fIoutput file\fP
|
||||
+.SH DESCRIPTION
|
||||
+\fBfreecad-thumbnailer\fP
|
||||
+is a Python script that extracts an embedded thumbnail from a FreeCAD project file.
|
||||
+If no thumbnail is embedded then nothing happens. According to the specification of
|
||||
+freedesktop.org the thumbnail image is a PNG file. The required \fBinput file\fP argument
|
||||
+specifies the project file where the thumbnail should be extracted from and the
|
||||
+\fBoutput file\fP specifies the file where the thumbnail should be written to.
|
||||
+.SH OPTIONS
|
||||
+.TP
|
||||
+\fB-s \fIsize\fR
|
||||
+Specify the size of the image in pixel.
|
||||
+.SH "SEE ALSO"
|
||||
+freecad(1), freecadcmd(1)
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.8.2237.orig/debian/mime/freecad.schemas
|
||||
+++ freecad-0.8.2237/debian/mime/freecad.schemas
|
||||
@@ -0,0 +1,30 @@
|
||||
+<gconfschemafile>
|
||||
+ <schemalist>
|
||||
+
|
||||
+ <schema>
|
||||
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</key>
|
||||
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</applyto>
|
||||
+ <owner>freecad</owner>
|
||||
+ <type>bool</type>
|
||||
+ <default>true</default>
|
||||
+ <locale name="C">
|
||||
+ <short>Enable thumbnailing of FreeCAD documents.</short>
|
||||
+ <long>Enable thumbnailing of FreeCAD documents.</long>
|
||||
+ </locale>
|
||||
+ </schema>
|
||||
+
|
||||
+
|
||||
+ <schema>
|
||||
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</key>
|
||||
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</applyto>
|
||||
+ <owner>freecad</owner>
|
||||
+ <type>string</type>
|
||||
+ <default>/usr/bin/freecad-thumbnailer -s %s %u %o</default>
|
||||
+ <locale name="C">
|
||||
+ <short>Thumbnail command for documents from FreeCAD.</short>
|
||||
+ <long>Valid command plus arguments for freecad-thumbnailer.</long>
|
||||
+ </locale>
|
||||
+ </schema>
|
||||
+
|
||||
+ </schemalist>
|
||||
+</gconfschemafile>
|
||||
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer
|
||||
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer
|
||||
@@ -0,0 +1,26 @@
|
||||
+#!/usr/bin/python
|
||||
+
|
||||
+import sys, zipfile, md5
|
||||
+import getopt
|
||||
+import gnomevfs
|
||||
+
|
||||
+opt,par = getopt.getopt(sys.argv[1:],'-s:')
|
||||
+inpfile = gnomevfs.get_local_path_from_uri(par[0])
|
||||
+outfile = par[1]
|
||||
+
|
||||
+try:
|
||||
+ zfile=zipfile.ZipFile(inpfile)
|
||||
+ files=zfile.namelist()
|
||||
+ # check for meta-file if it's really a FreeCAD document
|
||||
+ if files[0] != "Document.xml":
|
||||
+ sys.exit(1)
|
||||
+
|
||||
+ image="thumbnails/Thumbnail.png"
|
||||
+ if image in files:
|
||||
+ image=zfile.read(image)
|
||||
+ thumb=open(outfile,"wb")
|
||||
+ thumb.write(image)
|
||||
+ thumb.close()
|
||||
+except:
|
||||
+ sys.exit(1)
|
||||
+
|
||||
@@ -1,997 +0,0 @@
|
||||
--- freecad-0.8.2237.orig/debian/control
|
||||
+++ freecad-0.8.2237/debian/control
|
||||
@@ -0,0 +1,50 @@
|
||||
+Source: freecad
|
||||
+Section: x11
|
||||
+Priority: optional
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Homepage: http://sourceforge.net/projects/free-cad
|
||||
+Build-Depends: debhelper (>= 5), autotools-dev, libc6-dev (>= 2.1.3),
|
||||
+ libstdc++6, libboost1.37-dev, libboost-date-time1.37-dev, libboost-filesystem1.37-dev,
|
||||
+ libboost-graph1.37-dev, libboost-iostreams1.37-dev, libboost-program-options1.37-dev,
|
||||
+ libboost-regex1.37-dev, libboost-serialization1.37-dev, libboost-signals1.37-dev, libboost-system1.37-dev,
|
||||
+ zlib1g-dev, libxerces27-dev | libxerces-c2-dev,
|
||||
+ libxt-dev, libxmu-dev, libxi-dev, libx11-dev, libxext-dev,
|
||||
+ libqt4-dev, libsoqt4-dev, libcoin40-dev, libgl1-mesa-dev,
|
||||
+ python2.5-dev, python, python-central (>= 0.5.6),
|
||||
+ libgts-dev, libcv-dev, libopencascade-dev
|
||||
+Standards-Version: 3.8.0
|
||||
+XS-Python-Version: current
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Section: science
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+XB-Python-Version: ${python:Versions}
|
||||
+Conflicts: freecad (<= 0.6.472-1)
|
||||
+Suggests: gnochm | kchmviewer | kchmviewer-nokde | xchm, python-opencv
|
||||
+Description: An extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: freecad (>= ${source:Version}), ${misc:Depends}
|
||||
+XB-Python-Version: ${python:Versions}
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the libtool .la files, headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.8.2237/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
--- freecad-0.8.2237.orig/debian/freecad.links
|
||||
+++ freecad-0.8.2237/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.8.2237.orig/debian/copyright
|
||||
+++ freecad-0.8.2237/debian/copyright
|
||||
@@ -0,0 +1,393 @@
|
||||
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
|
||||
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Original-Source-Location: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/ANN/*
|
||||
+Copyright: 1997-2005 University of Maryland and Sunil Arya and David Mount
|
||||
+License: LGPL-2.1+
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||
+
|
||||
+Files: src/3rdParty/atlas/clapack.h
|
||||
+Copyright: 1999 R. Clint Whaley
|
||||
+License: BSD-3
|
||||
+ On Debian systems, the complete text of the Three-clause BSD license
|
||||
+ can be found in `/usr/share/common-licenses/BSD'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2004 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Matthias Troyer
|
||||
+License: other
|
||||
+ Permission to copy, modify, use and distribute this software
|
||||
+ for any non-commercial or commercial purpose is granted provided
|
||||
+ that this license appear on all copies of the software source code.
|
||||
+ .
|
||||
+ Author assumes no responsibility whatsoever for its use and makes
|
||||
+ no guarantees about its quality, correctness or reliability.
|
||||
+ .
|
||||
+ Kresimir Fresl acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/amos/*,
|
||||
+ src/3rdParty/boost/numeric/bindings/blas/*,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/config.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/fortran.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/matrix_raw.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/symm_herm_raw.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/vector_raw.hpp,
|
||||
+Copyright: 2002-2003 Toon Knapen, Kresimir Fresl, Si-Lab b.v.b.a, Joerg Walter
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, distribute and sell this software
|
||||
+ and its documentation for any purpose is hereby granted without fee,
|
||||
+ provided that the above copyright notice appear in all copies and
|
||||
+ that both that copyright notice and this permission notice appear
|
||||
+ in supporting documentation. The authors make no representations
|
||||
+ about the suitability of this software for any purpose.
|
||||
+ It is provided "as is" without express or implied warranty.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/traits/type.h
|
||||
+Copyright: 2000,2001,2002,2003 Si-Lab b.v.b.a. and Toon Knapen
|
||||
+License: other-non-free
|
||||
+ * License is hereby granted to use and modify this software
|
||||
+ * as long as this copyright notice is retained and modifications
|
||||
+ * are clearly marked.
|
||||
+ * This License does not permit you to redistribute this software.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/steqr.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/lapack/sytrd.hpp
|
||||
+Copyright: 2007 Karl Meerbergen
|
||||
+License: other
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/OCCAdaptMesh/*
|
||||
+Copyright: 1991-2000 Matra Datavision SA, 2001-2004 Open CASCADE SA
|
||||
+License: other
|
||||
+ This file is part of the Open CASCADE Technology software.
|
||||
+ .
|
||||
+ This software may be distributed and/or modified under the terms and
|
||||
+ conditions of the Open CASCADE Public License as defined by Open CASCADE SA
|
||||
+ and appearing in the file LICENSE included in the packaging of this file.
|
||||
+ .
|
||||
+ This software is distributed on an "AS IS" basis, without warranty of any
|
||||
+ kind, and Open CASCADE SA hereby disclaims all such warranties,
|
||||
+ including without limitation, any warranties of merchantability, fitness
|
||||
+ for a particular purpose or non-infringement. Please see the License for
|
||||
+ the specific terms and conditions governing rights and limitations under the
|
||||
+ License.
|
||||
+
|
||||
+Files: src/3rdParty/Pivy/*
|
||||
+Copyright: 2002-2007 Systems in Motion
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software for any
|
||||
+ purpose with or without fee is hereby granted, provided that the above
|
||||
+ copyright notice and this permission notice appear in all copies.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyCXX/*
|
||||
+Copyright: ???
|
||||
+License: ???
|
||||
+
|
||||
+Files: src/Base/PyTools.h
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Base/zipios/*
|
||||
+Copyright: 2000 Thomas Søndergaard
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Base/zipios/directory.*
|
||||
+Copyright: 1998 Dietmar Kuehl, Claas Solutions GmbH
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, distribute and sell this
|
||||
+ software for any purpose is hereby granted without fee, provided
|
||||
+ that the above copyright notice appears in all copies and that
|
||||
+ both that copyright notice and this permission notice appear in
|
||||
+ supporting documentation. Dietmar Kuehl and Claas Solutions make no
|
||||
+ representations about the suitability of this software for any
|
||||
+ purpose. It is provided "as is" without express or implied warranty.
|
||||
+
|
||||
+Files: src/Gui/SoFCOffscreenRenderer.cpp
|
||||
+Copyright: ???
|
||||
+License: ???
|
||||
+/*
|
||||
+ * wrjpgcom.c
|
||||
+ *
|
||||
+ * Copyright (C) 1994, Thomas G. Lane.
|
||||
+ * This file is part of the Independent JPEG Group's software.
|
||||
+ * For conditions of distribution and use, see the accompanying README file.
|
||||
+ *
|
||||
+ * This file contains a very simple stand-alone application that inserts
|
||||
+ * user-supplied text as a COM (comment) marker in a JFIF file.
|
||||
+ * This may be useful as an example of the minimum logic needed to parse
|
||||
+ * JPEG markers.
|
||||
+ */
|
||||
+
|
||||
+Files: src/Mod/Cam/App/*
|
||||
+Copyright: 2007 Joachim Zettler <Joachim.Zettler@gmx.de>,
|
||||
+ Human Rezai <human@mytum.de>,
|
||||
+ Mohamad Najib Muhammad Noor <najib_bean@yahoo.co.uk>,
|
||||
+ Stephane Routelous <stephane.routelous@exotk.org>,
|
||||
+ Jürgen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*,
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: ???
|
||||
+
|
||||
+Files: src/Mod/Drawing/Gui/DrawingView.*, src/Mod/Image/App/ImageBase.*,
|
||||
+ src/Mod/Image/Gui/GLImageBox.*, src/Mod/Image/Gui/ImageView.*,
|
||||
+ src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: ??? Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/triangle.cpp, src/Mod/Mesh/App/Core/triangle.h,
|
||||
+ src/3rdParty/OCCAdaptMesh/src/TriangleAdapt/triangleAdapt.c,
|
||||
+ src/3rdParty/OCCAdaptMesh/Include/triangleAdapt.h
|
||||
+Copyright: 1993, 1995, 1997, 1998, 2002, 2005 Jonathan Richard Shewchuk
|
||||
+License: other-non-free
|
||||
+ /* This program may be freely redistributed under the condition that the *
|
||||
+ /* copyright notices (including this entire header and the copyright *
|
||||
+ /* notice printed when the `-h' switch is selected) are not removed, and *
|
||||
+ /* no compensation is received. Private, research, and institutional *
|
||||
+ /* use is free. You may distribute modified versions of this code UNDER *
|
||||
+ /* THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE *
|
||||
+ /* SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE *
|
||||
+ /* AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR *
|
||||
+ /* NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code as *
|
||||
+ /* part of a commercial system is permissible ONLY BY DIRECT ARRANGEMENT *
|
||||
+ /* WITH THE AUTHOR. (If you are not directly supplying this code to a *
|
||||
+ /* customer, and you are instead telling them how they can obtain it for *
|
||||
+ /* free, then you are not required to make any arrangement with me.) *
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller
|
||||
+License: ???
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Tools/ImageTools/ImageConv/CmdLine.*,
|
||||
+ src/Tools/ImageTools/ImageConv/cmdline.htm
|
||||
+Copyright: 1999 Chris Losinger, Smaller Animals Software
|
||||
+ http://www.smalleranimals.com
|
||||
+License: ZLIB
|
||||
+ This software is provided 'as-is', without any express
|
||||
+ or implied warranty. In no event will the authors be
|
||||
+ held liable for any damages arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software
|
||||
+ for any purpose, including commercial applications, and
|
||||
+ to alter it and redistribute it freely, subject to the
|
||||
+ following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this software must not be misrepresented;
|
||||
+ you must not claim that you wrote the original software.
|
||||
+ If you use this software in a product, an acknowledgment
|
||||
+ in the product documentation would be appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such,
|
||||
+ and must not be misrepresented as being the original software.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source
|
||||
+ distribution.
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/atlas/cblas.h,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/algorithm.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/transpose.hpp
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/type.hpp
|
||||
+ src/App/ComplexGeoDataPyImp.cpp,
|
||||
+ src/App/DocumentObjectPyImp.cpp
|
||||
+ src/App/DocumentPyImp.cpp
|
||||
+ src/App/Doxygen.cpp
|
||||
+ src/App/FeaturePyImp.cpp
|
||||
+ src/App/PreCompiled.cpp
|
||||
+ src/App/PreCompiled.h
|
||||
+ src/App/PropertyContainerPyImp.cpp
|
||||
+ src/Base/BaseClassPyImp.cpp
|
||||
+ src/Base/BoundBoxPyImp.cpp
|
||||
+ src/Base/Doxygen.cpp
|
||||
+ src/Base/PersistancePyImp.cpp
|
||||
+ src/Base/PreCompiled.cpp
|
||||
+ src/Base/PreCompiled.h
|
||||
+ src/Base/PyExport.h
|
||||
+ src/Base/PyTools.c
|
||||
+ src/Base/VectorPyImp.cpp
|
||||
+ src/Base/zipios/meta-iostreams.h
|
||||
+ src/Gui/InventorAll.h
|
||||
+ src/Gui/PreCompiled.cpp
|
||||
+ src/Gui/PreCompiled.h
|
||||
+ src/Gui/Qt4All.h
|
||||
+ src/Gui/SoFCBoundingBox.cpp
|
||||
+ src/Gui/SoFCBoundingBox.h
|
||||
+ src/Mod/Cam/App/PreCompiled.h
|
||||
+ src/Mod/Cam/App/PreCompiled.cpp
|
||||
+ src/Mod/Cam/Gui/PreCompiled.h
|
||||
+ src/Mod/Cam/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Drawing/App/PreCompiled.h
|
||||
+ src/Mod/Drawing/App/PreCompiled.cpp
|
||||
+ src/Mod/Drawing/Gui/PreCompiled.h
|
||||
+ src/Mod/Drawing/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Drawing/Gui/AppDrawingGui.cpp
|
||||
+ src/Mod/Image/App/CaptureClass.h
|
||||
+ src/Mod/Image/App/PreCompiled.h
|
||||
+ src/Mod/Image/App/CaptureClass.cpp
|
||||
+ src/Mod/Image/App/PreCompiled.cpp
|
||||
+ src/Mod/Image/Gui/PreCompiled.h
|
||||
+ src/Mod/Image/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Import/App/PreCompiled.h
|
||||
+ src/Mod/Import/App/PreCompiled.cpp
|
||||
+ src/Mod/Import/Gui/PreCompiled.h
|
||||
+ src/Mod/Import/Gui/PreCompiled.cpp
|
||||
+ src/Mod/JtReader/App/PreCompiled.h
|
||||
+ src/Mod/JtReader/App/JtReader.h
|
||||
+ src/Mod/JtReader/App/PreCompiled.cpp
|
||||
+ src/Mod/Mesh/App/Doxygen.cpp
|
||||
+ src/Mod/Mesh/App/PreCompiled.h
|
||||
+ src/Mod/Mesh/App/MeshPointPyImp.cpp
|
||||
+ src/Mod/Mesh/App/PreCompiled.cpp
|
||||
+ src/Mod/Mesh/Gui/Doxygen.cpp
|
||||
+ src/Mod/Mesh/Gui/PreCompiled.h
|
||||
+ src/Mod/Mesh/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Part/App/TopoShapeFacePyImp.cpp
|
||||
+ src/Mod/Part/App/OpenCascadeAll.h
|
||||
+ src/Mod/Part/App/PreCompiled.h
|
||||
+ src/Mod/Part/App/TopoShapePyImp.cpp
|
||||
+ src/Mod/Part/App/PreCompiled.cpp
|
||||
+ src/Mod/Part/App/PartFeaturePyImp.cpp
|
||||
+ src/Mod/Part/Gui/PreCompiled.h
|
||||
+ src/Mod/Part/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Points/App/PreCompiled.h
|
||||
+ src/Mod/Points/App/PreCompiled.cpp
|
||||
+ src/Mod/Points/Gui/AppPointsGui.cpp
|
||||
+ src/Mod/Points/Gui/PreCompiled.h
|
||||
+ src/Mod/Points/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Raytracing/App/PreCompiled.h
|
||||
+ src/Mod/Raytracing/App/PreCompiled.cpp
|
||||
+ src/Mod/Raytracing/Gui/AppRaytracingGui.cpp
|
||||
+ src/Mod/Raytracing/Gui/Command.cpp src
|
||||
+ src/Mod/Raytracing/Gui/PreCompiled.h
|
||||
+ src/Mod/Raytracing/Gui/PreCompiled.cpp
|
||||
+ src/Mod/Test/Gui/PreCompiled.h
|
||||
+ src/Mod/Test/Gui/PreCompiled.cpp
|
||||
+Copyright: Not marked
|
||||
+License: ???
|
||||
--- freecad-0.8.2237.orig/debian/freecad.desktop
|
||||
+++ freecad-0.8.2237/debian/freecad.desktop
|
||||
@@ -0,0 +1,19 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/FCIcon.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.8.2237.orig/debian/compat
|
||||
+++ freecad-0.8.2237/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+5
|
||||
--- freecad-0.8.2237.orig/debian/freecad.doc-base
|
||||
+++ freecad-0.8.2237/debian/freecad.doc-base
|
||||
@@ -0,0 +1,14 @@
|
||||
+Document: freecad
|
||||
+Title: FreeCAD Manual
|
||||
+Author: Werner Mayer
|
||||
+Abstract: An extensible Open Source CAx program for Unix/X11
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+Section: Science/Engineering
|
||||
+
|
||||
+Format: text
|
||||
+Files: /usr/share/doc/freecad/README.Linux.gz
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/changelog
|
||||
+++ freecad-0.8.2237/debian/changelog
|
||||
@@ -0,0 +1,155 @@
|
||||
+freecad (0.8.2237-1jaunty1) jaunty; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 9.04 (Jackalope Jaunty)
|
||||
+
|
||||
+ -- Werner Mayer <werner@users.sourceforge.net> Sat, 11 Jul 2009 21:59:53 +0200
|
||||
+
|
||||
+freecad (0.7.2008-1jaunty1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 9.04 (Jackalope Jaunty)
|
||||
+
|
||||
+ -- Werner Mayer <werner@users.sourceforge.net> Sat, 21 Mar 2009 19:23:57 +0100
|
||||
+
|
||||
+freecad (0.7.1779-1intrepid1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 14 Dec 2008 15:20:54 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1intrepid1) intrepid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.10 (Intrepid Ibex)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 12 Oct 2008 16:20:54 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1hardy1) hardy; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 18:45:20 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1gutsy1) gutsy; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 11 Oct 2008 15:56:27 +0200
|
||||
+
|
||||
+freecad (0.7.1525-1feisty1) feisty; urgency=low
|
||||
+
|
||||
+ * Activate MIME support in rules file
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 5 Aug 2008 21:27:46 +0200
|
||||
+
|
||||
+freecad (0.7.1522-1feisty1) feisty; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 7.04 (Feisty Fawn)
|
||||
+ * Abstract interface for geometric data types
|
||||
+ * Avoid flickering of cursor when cutting several meshes at once
|
||||
+ * Update to the latest debian policy version 3.7.3
|
||||
+ * Several bugs fixed with Python GIL
|
||||
+ * Providing a dev package for freecad
|
||||
+ * Make TopoDS_Shape and Geom_Geometry classes accessible from Python
|
||||
+ * Make Python interface for algorithms on shapes and geometries
|
||||
+ * Support of mesh segments
|
||||
+ * Add test/annotation object
|
||||
+ * Add simple measurement facility
|
||||
+ * Remove OpenCascade dependency in Mesh module
|
||||
+ * Thumbnail facility added
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 04 Aug 2008 20:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) hardy; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) gutsy; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) feisty; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) unstable; urgency=low
|
||||
+
|
||||
+ * Official release for version 0.7
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Fri, 23 May 2008 23:39:47 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) feisty; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) feisty; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) unstable; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) unstable; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) unstable; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) unstable; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) unstable; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) unstable; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) unstable; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/freecad.1
|
||||
+++ freecad-0.8.2237/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.8.2237.orig/debian/rules
|
||||
+++ freecad-0.8.2237/debian/rules
|
||||
@@ -0,0 +1,143 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+# Sample debian/rules that uses debhelper.
|
||||
+# This file was originally written by Joey Hess and Craig Small.
|
||||
+# As a special exception, when this file is copied by dh-make into a
|
||||
+# dh-make output file, you may use that output file without restriction.
|
||||
+# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure: autogen.sh
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+# Add here commands to configure the package.
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade --with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+
|
||||
+# Add here commands to compile the package.
|
||||
+ $(MAKE)
|
||||
+ #docbook-to-man debian/freecad.sgml > freecad.1
|
||||
+
|
||||
+ touch $@
|
||||
+
|
||||
+# Add here commands to clean up after the build process.
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ rm -f build-stamp
|
||||
+ [ ! -f Makefile ] || $(MAKE) distclean
|
||||
+ rm -f configure
|
||||
+ dh_clean
|
||||
+ find -name 'Makefile.in' | xargs rm -f
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh
|
||||
+ rm -f ltmain.sh missing config.log libtool
|
||||
+
|
||||
+install: build
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+
|
||||
+# Add here commands to install the package into debian/tmp/freecad.
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+
|
||||
+# install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/* usr/share/
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+
|
||||
+# install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+# special treating of Draft module
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
|
||||
+# dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+
|
||||
+# special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+# Build architecture-independent files here.
|
||||
+binary-indep: build install
|
||||
+# We have nothing to do by default.
|
||||
+
|
||||
+# Build architecture-dependent files here.
|
||||
+binary-arch: build install
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_install debian/mime/freecad-thumbnailer usr/bin
|
||||
+ dh_install debian/mime/freecad.schemas etc/gconf/schemas
|
||||
+ dh_gconf -pfreecad
|
||||
+ dh_desktop
|
||||
+ dh_installmenu
|
||||
+ dh_installmime
|
||||
+ dh_pycentral
|
||||
+# dh_installinfo
|
||||
+# dh_installman debian/freecad.1
|
||||
+ dh_installman debian/freecad.1 debian/mime/freecad-thumbnailer.1
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_makeshlibs
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.8.2237.orig/debian/menu
|
||||
+++ freecad-0.8.2237/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/FCIcon.xpm"
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/README.Debian
|
||||
+++ freecad-0.8.2237/debian/README.Debian
|
||||
@@ -0,0 +1,6 @@
|
||||
+freecad for Debian
|
||||
+------------------
|
||||
+
|
||||
+- First Debian package for FreeCAD.
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net>, Tue, 26 Sep 2006 16:55:15 +0200
|
||||
--- freecad-0.8.2237.orig/debian/docs
|
||||
+++ freecad-0.8.2237/debian/docs
|
||||
@@ -0,0 +1,2 @@
|
||||
+ChangeLog.txt
|
||||
+README.Linux
|
||||
--- freecad-0.8.2237.orig/debian/mime/freecad.schemas
|
||||
+++ freecad-0.8.2237/debian/mime/freecad.schemas
|
||||
@@ -0,0 +1,30 @@
|
||||
+<gconfschemafile>
|
||||
+ <schemalist>
|
||||
+
|
||||
+ <schema>
|
||||
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</key>
|
||||
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</applyto>
|
||||
+ <owner>freecad</owner>
|
||||
+ <type>bool</type>
|
||||
+ <default>true</default>
|
||||
+ <locale name="C">
|
||||
+ <short>Enable thumbnailing of FreeCAD documents.</short>
|
||||
+ <long>Enable thumbnailing of FreeCAD documents.</long>
|
||||
+ </locale>
|
||||
+ </schema>
|
||||
+
|
||||
+
|
||||
+ <schema>
|
||||
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</key>
|
||||
+ <applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</applyto>
|
||||
+ <owner>freecad</owner>
|
||||
+ <type>string</type>
|
||||
+ <default>/usr/bin/freecad-thumbnailer -s %s %u %o</default>
|
||||
+ <locale name="C">
|
||||
+ <short>Thumbnail command for documents from FreeCAD.</short>
|
||||
+ <long>Valid command plus arguments for freecad-thumbnailer.</long>
|
||||
+ </locale>
|
||||
+ </schema>
|
||||
+
|
||||
+ </schemalist>
|
||||
+</gconfschemafile>
|
||||
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer
|
||||
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer
|
||||
@@ -0,0 +1,26 @@
|
||||
+#!/usr/bin/python
|
||||
+
|
||||
+import sys, zipfile, md5
|
||||
+import getopt
|
||||
+import gnomevfs
|
||||
+
|
||||
+opt,par = getopt.getopt(sys.argv[1:],'-s:')
|
||||
+inpfile = gnomevfs.get_local_path_from_uri(par[0])
|
||||
+outfile = par[1]
|
||||
+
|
||||
+try:
|
||||
+ zfile=zipfile.ZipFile(inpfile)
|
||||
+ files=zfile.namelist()
|
||||
+ # check for meta-file if it's really a FreeCAD document
|
||||
+ if files[0] != "Document.xml":
|
||||
+ sys.exit(1)
|
||||
+
|
||||
+ image="thumbnails/Thumbnail.png"
|
||||
+ if image in files:
|
||||
+ image=zfile.read(image)
|
||||
+ thumb=open(outfile,"wb")
|
||||
+ thumb.write(image)
|
||||
+ thumb.close()
|
||||
+except:
|
||||
+ sys.exit(1)
|
||||
+
|
||||
--- freecad-0.8.2237.orig/debian/mime/freecad-thumbnailer.1
|
||||
+++ freecad-0.8.2237/debian/mime/freecad-thumbnailer.1
|
||||
@@ -0,0 +1,20 @@
|
||||
+.TH FREECAD 1 "August 04, 2008" freecad "Linux User's Manual"
|
||||
+.SH NAME
|
||||
+freecad-thumbnailer \- A thumbnailer for FreeCAD project files
|
||||
+.SH SYNOPSIS
|
||||
+\fBfreecad-thumbnailer\fP [ -s \fIsize\fP ] \fIinput file\fP \fIoutput file\fP
|
||||
+.SH DESCRIPTION
|
||||
+\fBfreecad-thumbnailer\fP
|
||||
+is a Python script that extracts an embedded thumbnail from a FreeCAD project file.
|
||||
+If no thumbnail is embedded then nothing happens. According to the specification of
|
||||
+freedesktop.org the thumbnail image is a PNG file. The required \fBinput file\fP argument
|
||||
+specifies the project file where the thumbnail should be extracted from and the
|
||||
+\fBoutput file\fP specifies the file where the thumbnail should be written to.
|
||||
+.SH OPTIONS
|
||||
+.TP
|
||||
+\fB-s \fIsize\fR
|
||||
+Specify the size of the image in pixel.
|
||||
+.SH "SEE ALSO"
|
||||
+freecad(1), freecadcmd(1)
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
@@ -1,736 +0,0 @@
|
||||
--- freecad-0.9.2646.orig/debian/compat
|
||||
+++ freecad-0.9.2646/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+7
|
||||
--- freecad-0.9.2646.orig/debian/rules
|
||||
+++ freecad-0.9.2646/debian/rules
|
||||
@@ -0,0 +1,106 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure: autogen.sh
|
||||
+ dh_testdir
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade \
|
||||
+--with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+ $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh clean
|
||||
+ rm -f build-stamp
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 config.log libtool
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_prep
|
||||
+ dh_installdirs
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+ # Remove testing modules we don't want to have in the deb
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
|
||||
+ # install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
|
||||
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_installman debian/freecad.1
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ # install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+ # special treating of Draft module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+ # special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+ # install the help system
|
||||
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
|
||||
+ touch install-stamp
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ # We have nothing to do by default.
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ dh binary-arch
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.9.2646.orig/debian/copyright
|
||||
+++ freecad-0.9.2646/debian/copyright
|
||||
@@ -0,0 +1,294 @@
|
||||
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
|
||||
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Original-Source-Location: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
|
||||
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
|
||||
+License: other-boost-1.0
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
|
||||
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
|
||||
+License: other
|
||||
+ * Permission to copy, modify, use and distribute this software
|
||||
+ * for any non-commercial or commercial purpose is granted provided
|
||||
+ * that this license appear on all copies of the software source code.
|
||||
+ *
|
||||
+ * Authors assume no responsibility whatsoever for its use and makes
|
||||
+ * no guarantees about its quality, correctness or reliability.
|
||||
+ *
|
||||
+ * KF acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ * University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/Base/Base64.*
|
||||
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
|
||||
+License: other
|
||||
+ This source code is provided 'as-is', without any express or implied
|
||||
+ warranty. In no event will the author be held liable for any damages
|
||||
+ arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software for any purpose,
|
||||
+ including commercial applications, and to alter it and redistribute it
|
||||
+ freely, subject to the following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this source code must not be misrepresented; you must not
|
||||
+ claim that you wrote the original source code. If you use this source code
|
||||
+ in a product, an acknowledgment in the product documentation would be
|
||||
+ appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such, and must not be
|
||||
+ misrepresented as being the original source code.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source distribution.
|
||||
+
|
||||
+Files: src/Base/fdstream.hpp
|
||||
+Copyright: 2001 Nicolai M. Josuttis
|
||||
+License: other
|
||||
+ Permission to copy, use, modify, sell and distribute this software
|
||||
+ is granted provided this copyright notice appears in all copies.
|
||||
+ This software is provided "as is" without express or implied
|
||||
+ warranty, and with no claim as to its suitability for any purpose.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyTools.*
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Base/zipios/*
|
||||
+Copyright: 2000 Thomas Søndergaard
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Base/zipios/directory.*
|
||||
+Copyright: 1998 Dietmar Kuehl, Claas Solutions GmbH
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, distribute and sell this
|
||||
+ software for any purpose is hereby granted without fee, provided
|
||||
+ that the above copyright notice appears in all copies and that
|
||||
+ both that copyright notice and this permission notice appear in
|
||||
+ supporting documentation. Dietmar Kuehl and Claas Solutions make no
|
||||
+ representations about the suitability of this software for any
|
||||
+ purpose. It is provided "as is" without express or implied warranty.
|
||||
+
|
||||
+Files: src/CXX/*
|
||||
+Copyright: 1998-2007 The Regents of the University of California
|
||||
+License: BSD-3
|
||||
+ Copyright (c) 1998 - 2007
|
||||
+ The Regents of the University of California
|
||||
+ Produced at the Lawrence Livermore National Laboratory
|
||||
+ Written by Geoff Furnish, Paul F. Dubois, Barry A. Scott
|
||||
+ UCRL-CODE-227018
|
||||
+ All rights reserved.
|
||||
+ .
|
||||
+ This file is part of PyCXX. For details, see http://cxx.sourceforge.net.
|
||||
+ .
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions are met:
|
||||
+ .
|
||||
+ - Redistributions of source code must retain the above copyright notice, this
|
||||
+ list of conditions and the disclaimer below.
|
||||
+ - Redistributions in binary form must reproduce the above copyright notice,
|
||||
+ this list of conditions and the disclaimer (as noted below) in the
|
||||
+ documentation and/or materials provided with the distribution.
|
||||
+ - Neither the name of the UC/LLNL nor the names of its contributors may be
|
||||
+ used to endorse or promote products derived from this software without
|
||||
+ specific prior written permission.
|
||||
+ .
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OF THE UNIVERSITY OF CALIFORNIA,
|
||||
+ THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ .
|
||||
+ Additional BSD Notice
|
||||
+ .
|
||||
+ 1. This notice is required to be provided under our contract with the U.S.
|
||||
+ Department of Energy (DOE). This work was produced at the University of
|
||||
+ California, Lawrence Livermore National Laboratory under Contract No.
|
||||
+ W-7405-ENG-48 with the DOE.
|
||||
+ .
|
||||
+ 2. Neither the United States Government nor the University of California
|
||||
+ nor any of their employees, makes any warranty, express or implied, or
|
||||
+ assumes any liability or responsibility for the accuracy, completeness,
|
||||
+ or usefulness of any information, apparatus, product, or process disclosed,
|
||||
+ or represents that its use would not infringe privately-owned rights.
|
||||
+ .
|
||||
+ 3. Also, reference herein to any specific commercial products, process, or
|
||||
+ services by trade name, trademark, manufacturer or otherwise does not
|
||||
+ necessarily constitute or imply its endorsement, recommendation, or
|
||||
+ favoring by the United States Government or the University of California.
|
||||
+ The views and opinions of authors expressed herein do not necessarily
|
||||
+ state or reflect those of the United States Government or the University
|
||||
+ of California, and shall not be used for advertising or product endorsement
|
||||
+ purposes.
|
||||
+
|
||||
+Files: src/Gui/iisTaskPanel/src/*
|
||||
+Copyright: http://www.ii-system.com
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Draft/*
|
||||
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/draftlibs/dxf*
|
||||
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
|
||||
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: 2004 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
|
||||
+License: other
|
||||
+ tritritest.h has no licensing information, but Tomas Moller replied
|
||||
+ the following, when asked about it:
|
||||
+ .
|
||||
+ The code is free to use for anyone and any projects, but I give no
|
||||
+ warranties.
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchflat/*
|
||||
+Copyright: 2008 Jonathan Westhues
|
||||
+License: GPL-3+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
|
||||
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: GPL-2+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: debian/*
|
||||
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
|
||||
+ Teemu Ikonen <tpikonen@gmail.com>
|
||||
+License: LGPL-2+
|
||||
--- freecad-0.9.2646.orig/debian/freecad.links
|
||||
+++ freecad-0.9.2646/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.9.2646.orig/debian/freecad.1
|
||||
+++ freecad-0.9.2646/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.9.2646.orig/debian/changelog
|
||||
+++ freecad-0.9.2646/debian/changelog
|
||||
@@ -0,0 +1,130 @@
|
||||
+freecad (0.9.2646-1karmic) karmic; urgency=low
|
||||
+
|
||||
+
|
||||
+ * New upstream release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 14 Nov 2009 22:00:00 +0200
|
||||
+
|
||||
+freecad (0.8.2237-2) unstable; urgency=low
|
||||
+
|
||||
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
|
||||
+ * Added myself to uploaders list.
|
||||
+ * Bumped Standards-Version.
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
|
||||
+
|
||||
+freecad (0.8.2237-1) unstable; urgency=low
|
||||
+
|
||||
+ * New Upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release from sf.net
|
||||
+ * Import to debian-science repository at git.debian.org
|
||||
+ * control:
|
||||
+ - Update to standards-version 3.7.3
|
||||
+ - Add Vcs-* fields pointing to git.debian.org
|
||||
+ - Improve descriptions
|
||||
+ * Convert copyright to (pseudo) machine readable format, audit source
|
||||
+ * Fix categories in .desktop file
|
||||
+ * Change Section to Science/Engineering in .doc-base and menu files
|
||||
+ * rules: do not ignore errors on clean target, add dh_desktop call
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
--- freecad-0.9.2646.orig/debian/control
|
||||
+++ freecad-0.9.2646/debian/control
|
||||
@@ -0,0 +1,66 @@
|
||||
+Source: freecad
|
||||
+Section: science
|
||||
+Priority: extra
|
||||
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>
|
||||
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
|
||||
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
|
||||
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
|
||||
+Build-Depends: debhelper (>= 7), autotools-dev,
|
||||
+ libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
|
||||
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
|
||||
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
|
||||
+ libboost-python-dev, python-dev, python-opencv, python-support,
|
||||
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
|
||||
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libgl1-mesa-dev,
|
||||
+ libgts-bin, libgts-dev, libcv-dev, zlib1g-dev, libxerces-c2-dev,
|
||||
+ libopencascade-foundation-dev, libopencascade-modeling-dev,
|
||||
+ libswscale-dev, libblas-dev, libatlas-headers, python-cxx-dev, libzipios++-dev
|
||||
+Standards-Version: 3.8.3
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Section: science
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pivy, python-qt4
|
||||
+Suggests: freecad-doc, python-opencv
|
||||
+Description: An extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the libtool .la files, headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+Package: freecad-doc
|
||||
+Architecture: all
|
||||
+Section: doc
|
||||
+Depends: ${misc:Depends}, qt4-dev-tools
|
||||
+Description: FreeCAD documentation
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the FreeCAD documentation.
|
||||
+ .
|
||||
+ The documentation is provided in Qt's new help format;
|
||||
+ the new help format version can be viewed in conjunction with the Qt Assistant
|
||||
+ found in the qt4-dev-tools package.
|
||||
+
|
||||
--- freecad-0.9.2646.orig/debian/freecad.desktop
|
||||
+++ freecad-0.9.2646/debian/freecad.desktop
|
||||
@@ -0,0 +1,19 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/FCIcon.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.9.2646.orig/debian/menu
|
||||
+++ freecad-0.9.2646/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/FCIcon.xpm"
|
||||
+
|
||||
--- freecad-0.9.2646.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.9.2646/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
@@ -1,892 +0,0 @@
|
||||
--- freecad-0.11.4446.orig/debian/changelog
|
||||
+++ freecad-0.11.4446/debian/changelog
|
||||
@@ -0,0 +1,239 @@
|
||||
+freecad (0.11.4446-1lucid1) lucid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 10.04.2 LTS (lucid)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 27 Apr 2011 10:59:21 +0200
|
||||
+
|
||||
+freecad (0.11.4446-1lucid1) lucid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 10.04.2 LTS (lucid)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 27 Apr 2011 10:47:15 +0200
|
||||
+
|
||||
+freecad (0.11.3729.dfsg-2) unstable; urgency=low
|
||||
+
|
||||
+ * Add gfortran and libopencascade-visualization-dev to BD
|
||||
+ to fix FTBFS (closes: #622694)
|
||||
+ * Add libqtwebkit-dev to BD (closes: #618241)
|
||||
+ * Delete quilt from BD and corresponding changes in rules.
|
||||
+ * Add description to freecad-occ650.patch
|
||||
+ * Delete encoding string from .desktop
|
||||
+ * Fix some spelling errors, pointed out by lintian.
|
||||
+
|
||||
+ -- Anton Gladky <gladky.anton@gmail.com> Thu, 14 Apr 2011 10:23:25 +0100
|
||||
+
|
||||
+freecad (0.11.3729.dfsg-1) unstable; urgency=low
|
||||
+
|
||||
+ [ Denis Barbier ]
|
||||
+ * Merge OpenCASCADE 6.5.0 compatibility patch (closes: #617545).
|
||||
+
|
||||
+ [ Adam C. Powell, IV ]
|
||||
+ * New upstream (closes: #622213, #618241).
|
||||
+ * Changed to source format 3.0 (quilt).
|
||||
+ * Added patch target which forces autotools to run, and automake and autoconf
|
||||
+ are now in Build-Depends (closes: #607181).
|
||||
+ * Set aside src/Build/Version.h to prevent build problems.
|
||||
+ * Does not install .la files (closes: #621298).
|
||||
+ * Boost 1.46 compatibility patch (closes: #621877).
|
||||
+ * Set aside files which autotools modifies so clean works.
|
||||
+ * Added libtool to Build-Depends (thanks: PICCA Frédéric-Emmanuel).
|
||||
+ * Bumped Standards-Version, no changes needed.
|
||||
+
|
||||
+ -- "Adam C. Powell, IV" <hazelsct@debian.org> Tue, 12 Apr 2011 23:40:30 -0400
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-2) unstable; urgency=low
|
||||
+
|
||||
+ * control:
|
||||
+ - Update to standars-version 3.9.0.
|
||||
+ - Remove libblas-dev, libatlas-dev from build-deps.
|
||||
+ * Add debian/shlibs.local file containing the correct binary dep
|
||||
+ to libsoqt4-20 (closes: #575239).
|
||||
+ * copyright: Add a verbatim copy of Tiddlywiki BSD license. Fixes
|
||||
+ the lintian warning copyright-refers-to-deprecated-bsd-license-file.
|
||||
+ * Add kFreeBSD portability fixes. Thanks to Petr Salinger
|
||||
+ <Petr.Salinger@seznam.cz> for the patch (closes: #592461).
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 18 Aug 2010 19:34:36 +0200
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #582627)
|
||||
+ * Add debian/source/format file with contents "1.0".
|
||||
+ * Use freecad.xpm as icon in menu and desktop files.
|
||||
+ * copyright: Add licensing information for new files in this release.
|
||||
+ * src/Base/Makefile.in, src/Gui/Makefile.in: Do not remove *.tab.c files
|
||||
+ in make distclean target.
|
||||
+ * control:
|
||||
+ - Add build-dep to libeigen2-dev.
|
||||
+ - Update to standards-version 3.8.4.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 05 Jul 2010 15:07:49 +0200
|
||||
+
|
||||
+freecad (0.9.2646.5.dfsg-1) unstable; urgency=low
|
||||
+
|
||||
+ * Add 'dfsg' extension to upstream version, upstream sources are unchanged.
|
||||
+ * Remove libgl1-mesa-dev build-dep, rely on libcoin to pull in GL libraries.
|
||||
+ * Change build-dep libatlas-headers to libatlas-dev (closes: #577309).
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Fri, 14 May 2010 17:20:35 +0200
|
||||
+
|
||||
+freecad (0.9.2646.5-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #561696).
|
||||
+ * Added swig to Build-Depends (closes: #563523, #563772).
|
||||
+ * Removed python-opencv from Build-Depends and Recommends (closes: #560768).
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
|
||||
+
|
||||
+freecad (0.9.2646.4-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #559849, #559846).
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
|
||||
+
|
||||
+freecad (0.9.2646.3-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version. Removes TiddlySaver.jar, fixes help problems.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
|
||||
+
|
||||
+freecad (0.9.2646-1) unstable; urgency=low
|
||||
+
|
||||
+ [ Werner Mayer ]
|
||||
+ * New upstream release
|
||||
+ * In-source copy of PyCXX has been dropped (closes: #547936)
|
||||
+ * In-source copy of zipios++ has been dropped (closes: #547941)
|
||||
+ * Change build-dependency on python2.5-dev to python-dev
|
||||
+ * Add freecad-doc binary package
|
||||
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
|
||||
+
|
||||
+ [ Teemu Ikonen ]
|
||||
+ * Add override to dh_compress
|
||||
+ * Add versioned build-deb to debhelper (>= 7.0.50)
|
||||
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
|
||||
+
|
||||
+freecad (0.8.2237-2) unstable; urgency=low
|
||||
+
|
||||
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
|
||||
+ * Added myself to uploaders list.
|
||||
+ * Bumped Standards-Version.
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
|
||||
+
|
||||
+freecad (0.8.2237-1) unstable; urgency=low
|
||||
+
|
||||
+ * New Upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release from sf.net
|
||||
+ * Import to debian-science repository at git.debian.org
|
||||
+ * control:
|
||||
+ - Update to standards-version 3.7.3
|
||||
+ - Add Vcs-* fields pointing to git.debian.org
|
||||
+ - Improve descriptions
|
||||
+ * Convert copyright to (pseudo) machine readable format, audit source
|
||||
+ * Fix categories in .desktop file
|
||||
+ * Change Section to Science/Engineering in .doc-base and menu files
|
||||
+ * rules: do not ignore errors on clean target, add dh_desktop call
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
--- freecad-0.11.4446.orig/debian/shlibs.local
|
||||
+++ freecad-0.11.4446/debian/shlibs.local
|
||||
@@ -0,0 +1,2 @@
|
||||
+libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
|
||||
+libSoQt4 20 libsoqt4-20 (>= 1.4.2~svn20090224)
|
||||
--- freecad-0.11.4446.orig/debian/freecad.1
|
||||
+++ freecad-0.11.4446/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.11.4446.orig/debian/rules
|
||||
+++ freecad-0.11.4446/debian/rules
|
||||
@@ -0,0 +1,132 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete Fem Robot Import Inspection
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+patch-stamp:
|
||||
+ touch $@
|
||||
+
|
||||
+configure: autogen.sh patch-stamp
|
||||
+ dh_testdir
|
||||
+ #for autotools_mod_file in `find . -name Makefile.in` aclocal.m4 \
|
||||
+ # configure m4/libtool.m4 m4/ltmain.sh m4/ltoptions.m4 \
|
||||
+ # m4/ltversion.m4 m4/lt~obsolete.m4; do \
|
||||
+ # cp -a $$autotools_mod_file $$autotools_mod_file.setaside; \
|
||||
+ #done
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade \
|
||||
+--with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+ touch src/Build/Version.h
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+ $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ mv src/Build/Version.h src/Build/Version.h.old
|
||||
+ dh clean
|
||||
+ mv src/Build/Version.h.old src/Build/Version.h
|
||||
+ rm -f build-stamp
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 config.log libtool 71
|
||||
+ #if [ -e Makefile.in.setaside ]; then \
|
||||
+ #for autotools_mod_file in `find . -name Makefile.in` aclocal.m4 \
|
||||
+ # configure m4/libtool.m4 m4/ltmain.sh m4/ltoptions.m4 \
|
||||
+ # m4/ltversion.m4 m4/lt~obsolete.m4; do \
|
||||
+ # mv -f $$autotools_mod_file.setaside $$autotools_mod_file; \
|
||||
+ #done; fi
|
||||
+ dh clean
|
||||
+ rm -f patch-stamp
|
||||
+ #quilt pop -a
|
||||
+ #rm -rf .pc/
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_prep
|
||||
+ dh_installdirs
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+ # Remove testing modules we don't want to have in the deb
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
|
||||
+ # install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
|
||||
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_installman debian/freecad.1
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ # install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+ # special treating of PartDesign module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/PartDesign/Scripts/*.py usr/lib/freecad/Mod/PartDesign/Scripts;)
|
||||
+ # special treating of Draft module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+ # special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+ # install the help system
|
||||
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
|
||||
+ touch install-stamp
|
||||
+
|
||||
+override_dh_compress:
|
||||
+ dh_compress -X.qch -X.qhc
|
||||
+
|
||||
+override_dh_makeshlibs:
|
||||
+
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ dh binary-arch
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.11.4446.orig/debian/menu
|
||||
+++ freecad-0.11.4446/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/freecad.xpm"
|
||||
+
|
||||
--- freecad-0.11.4446.orig/debian/control
|
||||
+++ freecad-0.11.4446/debian/control
|
||||
@@ -0,0 +1,66 @@
|
||||
+Source: freecad
|
||||
+Section: science
|
||||
+Priority: extra
|
||||
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>, Anton Gladky <gladky.anton@gmail.com>
|
||||
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
|
||||
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
|
||||
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
|
||||
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libtool, automake,
|
||||
+ autoconf, libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
|
||||
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
|
||||
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
|
||||
+ libboost-python-dev, python-dev, python-support,
|
||||
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
|
||||
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libeigen2-dev, libeigen3-dev, libgl1-mesa-dev,
|
||||
+ zlib1g-dev, libxerces-c2-dev, libopencascade-foundation-dev, libopencascade-modeling-dev,
|
||||
+ libopencascade-visualization-dev, python-cxx-dev, libswscale-dev,
|
||||
+ libzipios++-dev, swig, gfortran
|
||||
+Standards-Version: 3.8.4
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+Recommends: python-pivy
|
||||
+Suggests: freecad-doc
|
||||
+Description: Extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+Package: freecad-doc
|
||||
+Architecture: all
|
||||
+Section: doc
|
||||
+Depends: ${misc:Depends}, qt4-dev-tools
|
||||
+Description: FreeCAD documentation
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the FreeCAD documentation.
|
||||
+ .
|
||||
+ The documentation is provided in Qt's new help format;
|
||||
+ the new help format version can be viewed in conjunction with the Qt Assistant
|
||||
+ found in the qt4-dev-tools package.
|
||||
+
|
||||
--- freecad-0.11.4446.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.11.4446/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
--- freecad-0.11.4446.orig/debian/compat
|
||||
+++ freecad-0.11.4446/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+7
|
||||
--- freecad-0.11.4446.orig/debian/freecad.links
|
||||
+++ freecad-0.11.4446/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.11.4446.orig/debian/freecad.desktop
|
||||
+++ freecad-0.11.4446/debian/freecad.desktop
|
||||
@@ -0,0 +1,18 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/freecad.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.11.4446.orig/debian/watch
|
||||
+++ freecad-0.11.4446/debian/watch
|
||||
@@ -0,0 +1,2 @@
|
||||
+version=3
|
||||
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
|
||||
--- freecad-0.11.4446.orig/debian/freecad-doc.doc-base
|
||||
+++ freecad-0.11.4446/debian/freecad-doc.doc-base
|
||||
@@ -0,0 +1,18 @@
|
||||
+Document: freecad-development-documentation
|
||||
+Title: FreeCAD development documentation
|
||||
+Author: FreeCAD developers
|
||||
+Abstract: FreeCAD is a general purpose Open Source 3D
|
||||
+ CAD/MCAD/CAx/CAE/PLM modeler, aimed directly at mechanical engineering
|
||||
+ and product design but also fits in a wider range of uses around
|
||||
+ engineering, such as architecture or other engineering specialties.
|
||||
+ It is a feature-based parametric modeler with a modular software
|
||||
+ architecture which makes it easy to provide additional functionality
|
||||
+ without modifying the core system.
|
||||
+Section: Science/Engineering
|
||||
+
|
||||
+Format: HTML
|
||||
+Index: /usr/share/doc/freecad/Start_Page.html
|
||||
+Files: /usr/share/doc/freecad/*.q*
|
||||
+
|
||||
+Format: PDF
|
||||
+Files: /usr/share/doc/freecad/kr_16.pdf.gz /usr/share/doc/freecad/kr_210_2.pdf.gz /usr/share/doc/freecad/kr_500_2.pdf.gz
|
||||
--- freecad-0.11.4446.orig/debian/copyright
|
||||
+++ freecad-0.11.4446/debian/copyright
|
||||
@@ -0,0 +1,275 @@
|
||||
+Format-Specification: http://dep.debian.net/deps/dep5/
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+X-Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Source: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
|
||||
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
|
||||
+License: other-boost-1.0
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
|
||||
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
|
||||
+License: other
|
||||
+ * Permission to copy, modify, use and distribute this software
|
||||
+ * for any non-commercial or commercial purpose is granted provided
|
||||
+ * that this license appear on all copies of the software source code.
|
||||
+ *
|
||||
+ * Authors assume no responsibility whatsoever for its use and makes
|
||||
+ * no guarantees about its quality, correctness or reliability.
|
||||
+ *
|
||||
+ * KF acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ * University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/Base/Base64.*
|
||||
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
|
||||
+License: other
|
||||
+ This source code is provided 'as-is', without any express or implied
|
||||
+ warranty. In no event will the author be held liable for any damages
|
||||
+ arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software for any purpose,
|
||||
+ including commercial applications, and to alter it and redistribute it
|
||||
+ freely, subject to the following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this source code must not be misrepresented; you must not
|
||||
+ claim that you wrote the original source code. If you use this source code
|
||||
+ in a product, an acknowledgment in the product documentation would be
|
||||
+ appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such, and must not be
|
||||
+ misrepresented as being the original source code.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source distribution.
|
||||
+
|
||||
+Files: src/Base/fdstream.hpp
|
||||
+Copyright: 2001 Nicolai M. Josuttis
|
||||
+License: other
|
||||
+ Permission to copy, use, modify, sell and distribute this software
|
||||
+ is granted provided this copyright notice appears in all copies.
|
||||
+ This software is provided "as is" without express or implied
|
||||
+ warranty, and with no claim as to its suitability for any purpose.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyTools.*
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2004-2009 UnaMesa Association
|
||||
+License: BSD
|
||||
+ Copyright (c) UnaMesa Association 2004-2009
|
||||
+ .
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions are
|
||||
+ met:
|
||||
+ .
|
||||
+ Redistributions of source code must retain the above copyright notice,
|
||||
+ this list of conditions and the following disclaimer.
|
||||
+ .
|
||||
+ Redistributions in binary form must reproduce the above copyright notice,
|
||||
+ this list of conditions and the following disclaimer in the documentation
|
||||
+ and/or other materials provided with the distribution.
|
||||
+ .
|
||||
+ Neither the name of the UnaMesa Association nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived from this
|
||||
+ software without specific prior written permission.
|
||||
+ .
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS
|
||||
+ IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2009 John Resig
|
||||
+License: GPL-2 or MIT
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
|
||||
+
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
|
||||
+License: GPL-2 or MIT or BSD
|
||||
+
|
||||
+Files: src/Gui/iisTaskPanel/src/*
|
||||
+Copyright: http://www.ii-system.com
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Draft/*
|
||||
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/draftlibs/dxf*
|
||||
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/WorkingPlane.py
|
||||
+Copyright: 2009-2010 Ken Cline <cline@frii.com>
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
|
||||
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: 2004 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
|
||||
+License: other
|
||||
+ tritritest.h has no licensing information, but Tomas Moller replied
|
||||
+ the following, when asked about it:
|
||||
+ .
|
||||
+ The code is free to use for anyone and any projects, but I give no
|
||||
+ warranties.
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Part/App/edgecluster.*
|
||||
+Copyright: 2010 Joachim Zettler <Joachim.Zettler@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchflat/*
|
||||
+Copyright: 2008 Jonathan Westhues
|
||||
+License: GPL-3+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchsolve_cp/*
|
||||
+Copyright: 2009 Jonathan George
|
||||
+License: BSD
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
|
||||
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+
|
||||
+Files: debian/*
|
||||
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
|
||||
+ Teemu Ikonen <tpikonen@gmail.com>
|
||||
+License: LGPL-2+
|
||||
--- freecad-0.11.4446.orig/debian/source/format
|
||||
+++ freecad-0.11.4446/debian/source/format
|
||||
@@ -0,0 +1 @@
|
||||
+1.0
|
||||
--- freecad-0.11.4446.orig/debian/source/lintian-overrides
|
||||
+++ freecad-0.11.4446/debian/source/lintian-overrides
|
||||
@@ -0,0 +1,3 @@
|
||||
+# Lintian thinks uploader Adam Powell's name violates policy
|
||||
+freecad source: uploader-address-missing "Adam C. Powell
|
||||
+freecad source: uploader-not-full-name IV"
|
||||
@@ -1,740 +0,0 @@
|
||||
--- freecad-0.11.3729.orig/debian/changelog
|
||||
+++ freecad-0.11.3729/debian/changelog
|
||||
@@ -0,0 +1,172 @@
|
||||
+freecad (0.11.3729-1lucid1) lucid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 10.04.1 LTS (lucid)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 14 Nov 2010 18:09:17 +0100
|
||||
+
|
||||
+freecad (0.10.3139-1lucid1) lucid; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 10.04 LTS (lucid)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 Apr 2010 23:43:06 +0200
|
||||
+
|
||||
+freecad (0.10.3139-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #561696).
|
||||
+ * Added swig to Build-Depends (closes: #563523, #563772).
|
||||
+ * Removed python-opencv from Build-Depends and Recommends (closes: #560768).
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
|
||||
+
|
||||
+freecad (0.9.2646.4-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #559849, #559846).
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
|
||||
+
|
||||
+freecad (0.9.2646.3-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version. Removes TiddlySaver.jar, fixes help problems.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
|
||||
+
|
||||
+freecad (0.9.2646-1) unstable; urgency=low
|
||||
+
|
||||
+ [ Werner Mayer ]
|
||||
+ * New upstream release
|
||||
+ * In-source copy of PyCXX has been dropped (closes: #547936)
|
||||
+ * In-source copy of zipios++ has been dropped (closes: #547941)
|
||||
+ * Change build-dependency on python2.5-dev to python-dev
|
||||
+ * Add freecad-doc binary package
|
||||
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
|
||||
+
|
||||
+ [ Teemu Ikonen ]
|
||||
+ * Add override to dh_compress
|
||||
+ * Add versioned build-deb to debhelper (>= 7.0.50)
|
||||
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
|
||||
+
|
||||
+freecad (0.8.2237-2) unstable; urgency=low
|
||||
+
|
||||
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
|
||||
+ * Added myself to uploaders list.
|
||||
+ * Bumped Standards-Version.
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
|
||||
+
|
||||
+freecad (0.8.2237-1) unstable; urgency=low
|
||||
+
|
||||
+ * New Upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release from sf.net
|
||||
+ * Import to debian-science repository at git.debian.org
|
||||
+ * control:
|
||||
+ - Update to standards-version 3.7.3
|
||||
+ - Add Vcs-* fields pointing to git.debian.org
|
||||
+ - Improve descriptions
|
||||
+ * Convert copyright to (pseudo) machine readable format, audit source
|
||||
+ * Fix categories in .desktop file
|
||||
+ * Change Section to Science/Engineering in .doc-base and menu files
|
||||
+ * rules: do not ignore errors on clean target, add dh_desktop call
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
--- freecad-0.11.3729.orig/debian/shlibs.local
|
||||
+++ freecad-0.11.3729/debian/shlibs.local
|
||||
@@ -0,0 +1 @@
|
||||
+libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
|
||||
--- freecad-0.11.3729.orig/debian/freecad.1
|
||||
+++ freecad-0.11.3729/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.11.3729.orig/debian/rules
|
||||
+++ freecad-0.11.3729/debian/rules
|
||||
@@ -0,0 +1,109 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete Fem Robot
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure: autogen.sh
|
||||
+ dh_testdir
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade \
|
||||
+--with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+ $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh clean
|
||||
+ rm -f build-stamp
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 config.log libtool
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_prep
|
||||
+ dh_installdirs
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+ # Remove testing modules we don't want to have in the deb
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
|
||||
+ # install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
|
||||
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_installman debian/freecad.1
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ # install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+ # special treating of PartDesign module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/PartDesign/Scripts/*.py usr/lib/freecad/Mod/PartDesign/Scripts;)
|
||||
+ # special treating of Draft module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+ # special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+ # install the help system
|
||||
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
|
||||
+ touch install-stamp
|
||||
+
|
||||
+override_dh_compress:
|
||||
+ dh_compress -X.qch -X.qhc
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ dh binary-arch
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.11.3729.orig/debian/menu
|
||||
+++ freecad-0.11.3729/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/freecad.xpm"
|
||||
+
|
||||
--- freecad-0.11.3729.orig/debian/control
|
||||
+++ freecad-0.11.3729/debian/control
|
||||
@@ -0,0 +1,67 @@
|
||||
+Source: freecad
|
||||
+Section: science
|
||||
+Priority: extra
|
||||
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>
|
||||
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
|
||||
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
|
||||
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
|
||||
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev,
|
||||
+ libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
|
||||
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
|
||||
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
|
||||
+ libboost-python-dev, python-dev, python-support,
|
||||
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
|
||||
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libgl1-mesa-dev,
|
||||
+ zlib1g-dev, libxerces-c2-dev, libopencascade-visualization-dev,
|
||||
+ libopencascade-foundation-dev, libopencascade-modeling-dev, python-cxx-dev,
|
||||
+ libswscale-dev, libzipios++-dev, swig, libeigen2-dev, libeigen3-dev
|
||||
+Standards-Version: 3.8.4
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Section: science
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+Recommends: python-pivy
|
||||
+Suggests: freecad-doc
|
||||
+Description: An extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the libtool .la files, headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+Package: freecad-doc
|
||||
+Architecture: all
|
||||
+Section: doc
|
||||
+Depends: ${misc:Depends}, qt4-dev-tools
|
||||
+Description: FreeCAD documentation
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the FreeCAD documentation.
|
||||
+ .
|
||||
+ The documentation is provided in Qt's new help format;
|
||||
+ the new help format version can be viewed in conjunction with the Qt Assistant
|
||||
+ found in the qt4-dev-tools package.
|
||||
+
|
||||
--- freecad-0.11.3729.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.11.3729/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
--- freecad-0.11.3729.orig/debian/compat
|
||||
+++ freecad-0.11.3729/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+7
|
||||
--- freecad-0.11.3729.orig/debian/freecad.links
|
||||
+++ freecad-0.11.3729/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.11.3729.orig/debian/freecad.desktop
|
||||
+++ freecad-0.11.3729/debian/freecad.desktop
|
||||
@@ -0,0 +1,19 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/freecad.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.11.3729.orig/debian/watch
|
||||
+++ freecad-0.11.3729/debian/watch
|
||||
@@ -0,0 +1,2 @@
|
||||
+version=3
|
||||
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
|
||||
--- freecad-0.11.3729.orig/debian/copyright
|
||||
+++ freecad-0.11.3729/debian/copyright
|
||||
@@ -0,0 +1,237 @@
|
||||
+Format-Specification: http://dep.debian.net/deps/dep5/
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+X-Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Source: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
|
||||
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
|
||||
+License: other-boost-1.0
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
|
||||
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
|
||||
+License: other
|
||||
+ * Permission to copy, modify, use and distribute this software
|
||||
+ * for any non-commercial or commercial purpose is granted provided
|
||||
+ * that this license appear on all copies of the software source code.
|
||||
+ *
|
||||
+ * Authors assume no responsibility whatsoever for its use and makes
|
||||
+ * no guarantees about its quality, correctness or reliability.
|
||||
+ *
|
||||
+ * KF acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ * University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/Base/Base64.*
|
||||
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
|
||||
+License: other
|
||||
+ This source code is provided 'as-is', without any express or implied
|
||||
+ warranty. In no event will the author be held liable for any damages
|
||||
+ arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software for any purpose,
|
||||
+ including commercial applications, and to alter it and redistribute it
|
||||
+ freely, subject to the following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this source code must not be misrepresented; you must not
|
||||
+ claim that you wrote the original source code. If you use this source code
|
||||
+ in a product, an acknowledgment in the product documentation would be
|
||||
+ appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such, and must not be
|
||||
+ misrepresented as being the original source code.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source distribution.
|
||||
+
|
||||
+Files: src/Base/fdstream.hpp
|
||||
+Copyright: 2001 Nicolai M. Josuttis
|
||||
+License: other
|
||||
+ Permission to copy, use, modify, sell and distribute this software
|
||||
+ is granted provided this copyright notice appears in all copies.
|
||||
+ This software is provided "as is" without express or implied
|
||||
+ warranty, and with no claim as to its suitability for any purpose.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyTools.*
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2004-2009 UnaMesa Association
|
||||
+License: BSD
|
||||
+ On Debian systems, the complete text of the BSD license
|
||||
+ can be found in `/usr/share/common-licenses/BSD'.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2009 John Resig
|
||||
+License: GPL-2 or MIT
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
|
||||
+
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
|
||||
+License: GPL-2 or MIT or BSD
|
||||
+
|
||||
+Files: src/Gui/iisTaskPanel/src/*
|
||||
+Copyright: http://www.ii-system.com
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Draft/*
|
||||
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/draftlibs/dxf*
|
||||
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
|
||||
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: 2004 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
|
||||
+License: other
|
||||
+ tritritest.h has no licensing information, but Tomas Moller replied
|
||||
+ the following, when asked about it:
|
||||
+ .
|
||||
+ The code is free to use for anyone and any projects, but I give no
|
||||
+ warranties.
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchflat/*
|
||||
+Copyright: 2008 Jonathan Westhues
|
||||
+License: GPL-3+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
|
||||
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+
|
||||
+Files: debian/*
|
||||
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
|
||||
+ Teemu Ikonen <tpikonen@gmail.com>
|
||||
+License: LGPL-2+
|
||||
--- freecad-0.11.3729.orig/debian/source/format
|
||||
+++ freecad-0.11.3729/debian/source/format
|
||||
@@ -0,0 +1 @@
|
||||
+1.0
|
||||
@@ -1,886 +0,0 @@
|
||||
--- freecad-0.12.4484.orig/debian/changelog
|
||||
+++ freecad-0.12.4484/debian/changelog
|
||||
@@ -0,0 +1,272 @@
|
||||
+freecad (0.12.4484-1natty1) natty; urgency=low
|
||||
+
|
||||
+ * New release for Ubuntu 11.04 (natty)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 11 May 2011 22:55:03 +0200
|
||||
+
|
||||
+freecad (0.11.3729.dfsg-2) unstable; urgency=low
|
||||
+
|
||||
+ * Add gfortran and libopencascade-visualization-dev to BD
|
||||
+ to fix FTBFS (closes: #622694)
|
||||
+ * Add libqtwebkit-dev to BD (closes: #618241)
|
||||
+ * Delete quilt from BD and corresponding changes in rules.
|
||||
+ * Add description to freecad-occ650.patch
|
||||
+ * Delete encoding string from .desktop
|
||||
+ * Fix some spelling errors, pointed out by lintian.
|
||||
+
|
||||
+ -- Anton Gladky <gladky.anton@gmail.com> Thu, 14 Apr 2011 10:23:25 +0100
|
||||
+
|
||||
+freecad (0.11.3729.dfsg-1) unstable; urgency=low
|
||||
+
|
||||
+ [ Denis Barbier ]
|
||||
+ * Merge OpenCASCADE 6.5.0 compatibility patch (closes: #617545).
|
||||
+
|
||||
+ [ Adam C. Powell, IV ]
|
||||
+ * New upstream (closes: #622213, #618241).
|
||||
+ * Changed to source format 3.0 (quilt).
|
||||
+ * Added patch target which forces autotools to run, and automake and autoconf
|
||||
+ are now in Build-Depends (closes: #607181).
|
||||
+ * Set aside src/Build/Version.h to prevent build problems.
|
||||
+ * Does not install .la files (closes: #621298).
|
||||
+ * Boost 1.46 compatibility patch (closes: #621877).
|
||||
+ * Set aside files which autotools modifies so clean works.
|
||||
+ * Added libtool to Build-Depends (thanks: PICCA Frédéric-Emmanuel).
|
||||
+ * Bumped Standards-Version, no changes needed.
|
||||
+
|
||||
+ -- "Adam C. Powell, IV" <hazelsct@debian.org> Tue, 12 Apr 2011 23:40:30 -0400
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-2ubuntu3) natty; urgency=low
|
||||
+
|
||||
+ * Fix build failure with ld --as-needed.
|
||||
+
|
||||
+ -- Matthias Klose <doko@ubuntu.com> Wed, 15 Dec 2010 01:12:39 +0100
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-2ubuntu2) natty; urgency=low
|
||||
+
|
||||
+ * Rebuild with python 2.7 as the python default.
|
||||
+
|
||||
+ -- Matthias Klose <doko@ubuntu.com> Thu, 09 Dec 2010 16:46:45 +0000
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-2ubuntu1) natty; urgency=low
|
||||
+
|
||||
+ * Merge from debian unstable. Remaining changes:
|
||||
+ - build on libqtwebkit-dev for qtwebkit transition
|
||||
+
|
||||
+ -- Bhavani Shankar <bhavi@ubuntu.com> Wed, 20 Oct 2010 08:40:53 +0530
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-2) unstable; urgency=low
|
||||
+
|
||||
+ * control:
|
||||
+ - Update to standars-version 3.9.0.
|
||||
+ - Remove libblas-dev, libatlas-dev from build-deps.
|
||||
+ * Add debian/shlibs.local file containing the correct binary dep
|
||||
+ to libsoqt4-20 (closes: #575239).
|
||||
+ * copyright: Add a verbatim copy of Tiddlywiki BSD license. Fixes
|
||||
+ the lintian warning copyright-refers-to-deprecated-bsd-license-file.
|
||||
+ * Add kFreeBSD portability fixes. Thanks to Petr Salinger
|
||||
+ <Petr.Salinger@seznam.cz> for the patch (closes: #592461).
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 18 Aug 2010 19:34:36 +0200
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-1ubuntu2) maverick; urgency=low
|
||||
+
|
||||
+ * Rebuild on libqtwebkit-dev for qtwebkit transition
|
||||
+
|
||||
+ -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 21 Jul 2010 10:06:31 +0100
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-1ubuntu1) maverick; urgency=low
|
||||
+
|
||||
+ * Merge from Debian unstable, remaining changes:
|
||||
+ - debian/control: Build-Depends on libqt4-webkit-dev due to
|
||||
+ QtWebKit is no longer part of libqt4-dev (LP: #604078)
|
||||
+
|
||||
+ -- Artur Rona <ari-tczew@tlen.pl> Sat, 10 Jul 2010 21:06:47 +0200
|
||||
+
|
||||
+freecad (0.10.3247.dfsg-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #582627)
|
||||
+ * Add debian/source/format file with contents "1.0".
|
||||
+ * Use freecad.xpm as icon in menu and desktop files.
|
||||
+ * copyright: Add licensing information for new files in this release.
|
||||
+ * src/Base/Makefile.in, src/Gui/Makefile.in: Do not remove *.tab.c files
|
||||
+ in make distclean target.
|
||||
+ * control:
|
||||
+ - Add build-dep to libeigen2-dev.
|
||||
+ - Update to standards-version 3.8.4.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 05 Jul 2010 15:07:49 +0200
|
||||
+
|
||||
+freecad (0.9.2646.5.dfsg-1ubuntu1) maverick; urgency=low
|
||||
+
|
||||
+ * Add build-dep on libqt4-webkit-dev to fix FTBFS with Qt 4.7
|
||||
+
|
||||
+ -- Scott Kitterman <scott@kitterman.com> Sat, 19 Jun 2010 00:37:12 -0400
|
||||
+
|
||||
+freecad (0.9.2646.5.dfsg-1) unstable; urgency=low
|
||||
+
|
||||
+ * Add 'dfsg' extension to upstream version, upstream sources are unchanged.
|
||||
+ * Remove libgl1-mesa-dev build-dep, rely on libcoin to pull in GL libraries.
|
||||
+ * Change build-dep libatlas-headers to libatlas-dev (closes: #577309).
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Fri, 14 May 2010 17:20:35 +0200
|
||||
+
|
||||
+freecad (0.9.2646.5-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #561696).
|
||||
+ * Added swig to Build-Depends (closes: #563523, #563772).
|
||||
+ * Removed python-opencv from Build-Depends and Recommends (closes: #560768).
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Mon, 11 Jan 2010 08:48:33 -0500
|
||||
+
|
||||
+freecad (0.9.2646.4-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version (closes: #559849, #559846).
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Fri, 11 Dec 2009 20:21:32 -0500
|
||||
+
|
||||
+freecad (0.9.2646.3-1) unstable; urgency=low
|
||||
+
|
||||
+ * New upstream version. Removes TiddlySaver.jar, fixes help problems.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 03 Dec 2009 19:39:27 +0100
|
||||
+
|
||||
+freecad (0.9.2646-1) unstable; urgency=low
|
||||
+
|
||||
+ [ Werner Mayer ]
|
||||
+ * New upstream release
|
||||
+ * In-source copy of PyCXX has been dropped (closes: #547936)
|
||||
+ * In-source copy of zipios++ has been dropped (closes: #547941)
|
||||
+ * Change build-dependency on python2.5-dev to python-dev
|
||||
+ * Add freecad-doc binary package
|
||||
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
|
||||
+
|
||||
+ [ Teemu Ikonen ]
|
||||
+ * Add override to dh_compress
|
||||
+ * Add versioned build-deb to debhelper (>= 7.0.50)
|
||||
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
|
||||
+
|
||||
+freecad (0.8.2237-2) unstable; urgency=low
|
||||
+
|
||||
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
|
||||
+ * Added myself to uploaders list.
|
||||
+ * Bumped Standards-Version.
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
|
||||
+
|
||||
+freecad (0.8.2237-1) unstable; urgency=low
|
||||
+
|
||||
+ * New Upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release from sf.net
|
||||
+ * Import to debian-science repository at git.debian.org
|
||||
+ * control:
|
||||
+ - Update to standards-version 3.7.3
|
||||
+ - Add Vcs-* fields pointing to git.debian.org
|
||||
+ - Improve descriptions
|
||||
+ * Convert copyright to (pseudo) machine readable format, audit source
|
||||
+ * Fix categories in .desktop file
|
||||
+ * Change Section to Science/Engineering in .doc-base and menu files
|
||||
+ * rules: do not ignore errors on clean target, add dh_desktop call
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
--- freecad-0.12.4484.orig/debian/freecad.links
|
||||
+++ freecad-0.12.4484/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.12.4484.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.12.4484/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
--- freecad-0.12.4484.orig/debian/watch
|
||||
+++ freecad-0.12.4484/debian/watch
|
||||
@@ -0,0 +1,2 @@
|
||||
+version=3
|
||||
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
|
||||
--- freecad-0.12.4484.orig/debian/shlibs.local
|
||||
+++ freecad-0.12.4484/debian/shlibs.local
|
||||
@@ -0,0 +1,2 @@
|
||||
+libGL 1 libgl1-mesa-glx (>= 7.7.1-1)
|
||||
+libSoQt4 20 libsoqt4-20 (>= 1.4.2~svn20090224)
|
||||
--- freecad-0.12.4484.orig/debian/freecad.1
|
||||
+++ freecad-0.12.4484/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.12.4484.orig/debian/rules
|
||||
+++ freecad-0.12.4484/debian/rules
|
||||
@@ -0,0 +1,113 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete Fem Robot Import Inspection Arch
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure: autogen.sh
|
||||
+ dh_testdir
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade \
|
||||
+--with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+ $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh clean
|
||||
+ rm -f build-stamp
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 config.log libtool
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_prep
|
||||
+ dh_installdirs
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+ # Remove testing modules we don't want to have in the deb
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
|
||||
+ # install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
|
||||
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_installman debian/freecad.1
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ # install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+ # special treating of PartDesign module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/PartDesign/Scripts/*.py usr/lib/freecad/Mod/PartDesign/Scripts;)
|
||||
+ # special treating of Draft module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+ # special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+ # special treating of Arch module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Arch/*.py usr/lib/freecad/Mod/Arch
|
||||
+
|
||||
+ # install the help system
|
||||
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
|
||||
+ touch install-stamp
|
||||
+
|
||||
+override_dh_compress:
|
||||
+ dh_compress -X.qch -X.qhc
|
||||
+
|
||||
+override_dh_makeshlibs:
|
||||
+
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ dh binary-arch
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.12.4484.orig/debian/freecad.desktop
|
||||
+++ freecad-0.12.4484/debian/freecad.desktop
|
||||
@@ -0,0 +1,18 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/freecad.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.12.4484.orig/debian/menu
|
||||
+++ freecad-0.12.4484/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/freecad.xpm"
|
||||
+
|
||||
--- freecad-0.12.4484.orig/debian/copyright
|
||||
+++ freecad-0.12.4484/debian/copyright
|
||||
@@ -0,0 +1,275 @@
|
||||
+Format-Specification: http://dep.debian.net/deps/dep5/
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+X-Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+X-Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Source: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
|
||||
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
|
||||
+License: other-boost-1.0
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
|
||||
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
|
||||
+License: other
|
||||
+ * Permission to copy, modify, use and distribute this software
|
||||
+ * for any non-commercial or commercial purpose is granted provided
|
||||
+ * that this license appear on all copies of the software source code.
|
||||
+ *
|
||||
+ * Authors assume no responsibility whatsoever for its use and makes
|
||||
+ * no guarantees about its quality, correctness or reliability.
|
||||
+ *
|
||||
+ * KF acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ * University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/Base/Base64.*
|
||||
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
|
||||
+License: other
|
||||
+ This source code is provided 'as-is', without any express or implied
|
||||
+ warranty. In no event will the author be held liable for any damages
|
||||
+ arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software for any purpose,
|
||||
+ including commercial applications, and to alter it and redistribute it
|
||||
+ freely, subject to the following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this source code must not be misrepresented; you must not
|
||||
+ claim that you wrote the original source code. If you use this source code
|
||||
+ in a product, an acknowledgment in the product documentation would be
|
||||
+ appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such, and must not be
|
||||
+ misrepresented as being the original source code.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source distribution.
|
||||
+
|
||||
+Files: src/Base/fdstream.hpp
|
||||
+Copyright: 2001 Nicolai M. Josuttis
|
||||
+License: other
|
||||
+ Permission to copy, use, modify, sell and distribute this software
|
||||
+ is granted provided this copyright notice appears in all copies.
|
||||
+ This software is provided "as is" without express or implied
|
||||
+ warranty, and with no claim as to its suitability for any purpose.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyTools.*
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2004-2009 UnaMesa Association
|
||||
+License: BSD
|
||||
+ Copyright (c) UnaMesa Association 2004-2009
|
||||
+ .
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions are
|
||||
+ met:
|
||||
+ .
|
||||
+ Redistributions of source code must retain the above copyright notice,
|
||||
+ this list of conditions and the following disclaimer.
|
||||
+ .
|
||||
+ Redistributions in binary form must reproduce the above copyright notice,
|
||||
+ this list of conditions and the following disclaimer in the documentation
|
||||
+ and/or other materials provided with the distribution.
|
||||
+ .
|
||||
+ Neither the name of the UnaMesa Association nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived from this
|
||||
+ software without specific prior written permission.
|
||||
+ .
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS
|
||||
+ IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2009 John Resig
|
||||
+License: GPL-2 or MIT
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
|
||||
+
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/Doc/Start_Page.html
|
||||
+Copyright: 2009 The Dojo Foundation, http://sizzlejs.com/
|
||||
+License: GPL-2 or MIT or BSD
|
||||
+
|
||||
+Files: src/Gui/iisTaskPanel/src/*
|
||||
+Copyright: http://www.ii-system.com
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Draft/*
|
||||
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/draftlibs/dxf*
|
||||
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/WorkingPlane.py
|
||||
+Copyright: 2009-2010 Ken Cline <cline@frii.com>
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
|
||||
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: 2004 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
|
||||
+License: other
|
||||
+ tritritest.h has no licensing information, but Tomas Moller replied
|
||||
+ the following, when asked about it:
|
||||
+ .
|
||||
+ The code is free to use for anyone and any projects, but I give no
|
||||
+ warranties.
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Part/App/edgecluster.*
|
||||
+Copyright: 2010 Joachim Zettler <Joachim.Zettler@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchflat/*
|
||||
+Copyright: 2008 Jonathan Westhues
|
||||
+License: GPL-3+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchsolve_cp/*
|
||||
+Copyright: 2009 Jonathan George
|
||||
+License: BSD
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
|
||||
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+
|
||||
+Files: debian/*
|
||||
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
|
||||
+ Teemu Ikonen <tpikonen@gmail.com>
|
||||
+License: LGPL-2+
|
||||
--- freecad-0.12.4484.orig/debian/compat
|
||||
+++ freecad-0.12.4484/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+7
|
||||
--- freecad-0.12.4484.orig/debian/control
|
||||
+++ freecad-0.12.4484/debian/control
|
||||
@@ -0,0 +1,67 @@
|
||||
+Source: freecad
|
||||
+Section: science
|
||||
+Priority: extra
|
||||
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>, Anton Gladky <gladky.anton@gmail.com>
|
||||
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
|
||||
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
|
||||
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
|
||||
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libtool, automake,
|
||||
+ autoconf, libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
|
||||
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
|
||||
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
|
||||
+ libboost-python-dev, python-dev, python-support,
|
||||
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
|
||||
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libeigen2-dev, libeigen3-dev, libgl1-mesa-dev,
|
||||
+ zlib1g-dev, libxerces-c2-dev, libopencascade-foundation-dev,
|
||||
+ libopencascade-modeling-dev, libopencascade-ocaf-dev,
|
||||
+ libopencascade-visualization-dev, python-cxx-dev, libswscale-dev,
|
||||
+ libzipios++-dev, swig, gfortran, libqtwebkit-dev
|
||||
+Standards-Version: 3.9.1
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+Recommends: python-pivy
|
||||
+Suggests: freecad-doc
|
||||
+Description: Extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+Package: freecad-doc
|
||||
+Architecture: all
|
||||
+Section: doc
|
||||
+Depends: ${misc:Depends}, qt4-dev-tools
|
||||
+Description: FreeCAD documentation
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the FreeCAD documentation.
|
||||
+ .
|
||||
+ The documentation is provided in Qt's new help format;
|
||||
+ the new help format version can be viewed in conjunction with the Qt Assistant
|
||||
+ found in the qt4-dev-tools package.
|
||||
+
|
||||
--- freecad-0.12.4484.orig/debian/source/lintian-overrides
|
||||
+++ freecad-0.12.4484/debian/source/lintian-overrides
|
||||
@@ -0,0 +1,3 @@
|
||||
+# Lintian thinks uploader Adam Powell's name violates policy
|
||||
+freecad source: uploader-address-missing "Adam C. Powell
|
||||
+freecad source: uploader-not-full-name IV"
|
||||
--- freecad-0.12.4484.orig/debian/source/format
|
||||
+++ freecad-0.12.4484/debian/source/format
|
||||
@@ -0,0 +1 @@
|
||||
+1.0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,682 +0,0 @@
|
||||
--- freecad-0.9.2646.orig/debian/compat
|
||||
+++ freecad-0.9.2646/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+7
|
||||
--- freecad-0.9.2646.orig/debian/control
|
||||
+++ freecad-0.9.2646/debian/control
|
||||
@@ -0,0 +1,67 @@
|
||||
+Source: freecad
|
||||
+Section: science
|
||||
+Priority: extra
|
||||
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
|
||||
+Uploaders: Teemu Ikonen <tpikonen@gmail.com>, "Adam C. Powell, IV" <hazelsct@debian.org>
|
||||
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/freecad.git
|
||||
+Vcs-Git: git://git.debian.org/git/debian-science/packages/freecad.git
|
||||
+Homepage: http://juergen-riegel.net/FreeCAD/Docu/index.php?title=Main_Page
|
||||
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev,
|
||||
+ libboost-dev, libboost-date-time-dev, libboost-filesystem-dev,
|
||||
+ libboost-graph-dev, libboost-iostreams-dev, libboost-program-options-dev,
|
||||
+ libboost-regex-dev, libboost-serialization-dev, libboost-signals-dev,
|
||||
+ libboost-python-dev, python-dev, python-opencv, python-support,
|
||||
+ libqt4-dev, libxt-dev, libxext-dev, libxmu-dev, libxi-dev, libx11-dev,
|
||||
+ libcoin60-dev, libsoqt4-dev (>= 1.4.2~svn20090224), libgl1-mesa-dev,
|
||||
+ libgts-bin, libgts-dev, libcv-dev, zlib1g-dev, libxerces-c2-dev,
|
||||
+ libopencascade-foundation-dev, libopencascade-modeling-dev, python-cxx-dev,
|
||||
+ libswscale-dev, libblas-dev, libatlas-headers, libzipios++-dev
|
||||
+Standards-Version: 3.8.3
|
||||
+
|
||||
+Package: freecad
|
||||
+Architecture: any
|
||||
+Section: science
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+Recommends: python-pivy
|
||||
+Suggests: freecad-doc, python-opencv
|
||||
+Description: An extensible Open Source CAx program (alpha)
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ .
|
||||
+ Currently, FreeCAD can import and display CAD models in IGES, STEP, and
|
||||
+ BRep formats and meshes in STL, BMS, AST and Wavefront OBJ formats.
|
||||
+ Editing and modeling features are currently somewhat limited.
|
||||
+
|
||||
+Package: freecad-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, freecad (= ${binary:Version})
|
||||
+Description: FreeCAD development files
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the libtool .la files, headers and symlinks necessary to
|
||||
+ develop modules for FreeCAD.
|
||||
+
|
||||
+Package: freecad-doc
|
||||
+Architecture: all
|
||||
+Section: doc
|
||||
+Depends: ${misc:Depends}, qt4-dev-tools
|
||||
+Description: FreeCAD documentation
|
||||
+ FreeCAD is an Open Source CAx RAD based on OpenCasCade, Qt and Python.
|
||||
+ It features some key concepts like macro recording, workbenches, ability
|
||||
+ to run as a server and dynamically loadable application extensions and
|
||||
+ it is designed to be platform independent.
|
||||
+ For more details see http://sourceforge.net/projects/free-cad
|
||||
+ .
|
||||
+ This package contains the FreeCAD documentation.
|
||||
+ .
|
||||
+ The documentation is provided in Qt's new help format;
|
||||
+ the new help format version can be viewed in conjunction with the Qt Assistant
|
||||
+ found in the qt4-dev-tools package.
|
||||
+
|
||||
--- freecad-0.9.2646.orig/debian/rules
|
||||
+++ freecad-0.9.2646/debian/rules
|
||||
@@ -0,0 +1,109 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+MODULES = Part Mesh MeshPart PartDesign Sketcher Points Raytracing Image Drawing ReverseEngineering Complete
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure: autogen.sh
|
||||
+ dh_testdir
|
||||
+ chmod u+x autogen.sh
|
||||
+ ./autogen.sh
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+ ./configure --with-occ-include=/usr/include/opencascade \
|
||||
+--with-occ-lib=/usr/lib \
|
||||
+--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+--prefix=/usr/lib/freecad --mandir=/usr/share/man \
|
||||
+--infodir=/usr/share/info --datadir=/usr/share/freecad \
|
||||
+--includedir=/usr/include/freecad --docdir=/usr/share/doc/freecad \
|
||||
+CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
|
||||
+
|
||||
+build: build-stamp
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+ $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh clean
|
||||
+ rm -f build-stamp
|
||||
+ find -name '*.pyc' | xargs rm -f
|
||||
+ find -name 'moc_*.cpp' | xargs rm -f
|
||||
+ find -name '*.lo' | xargs rm -f
|
||||
+ find -name '*.deps' | xargs rm -rf
|
||||
+ find -name '*.libs' | xargs rm -rf
|
||||
+ rm -f stamp-h1 config.log libtool
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_prep
|
||||
+ dh_installdirs
|
||||
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/freecad
|
||||
+ # Remove testing modules we don't want to have in the deb
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/_TEMPLATE_
|
||||
+ rm -rf debian/tmp/freecad/usr/lib/freecad/Mod/TemplatePyMod
|
||||
+ # install the core system
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/share/freecad/* usr/share/freecad/
|
||||
+ #dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/share usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/bin usr/lib/freecad
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/FreeCAD.so usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/lib/lib*.so.* usr/lib/freecad/lib
|
||||
+ dh_install debian/freecad.desktop usr/share/applications
|
||||
+ dh_installman debian/freecad.1
|
||||
+ dh_installchangelogs ChangeLog.txt
|
||||
+ # install the modules
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/$(MODULE)*.so usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so.* usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/*.py usr/lib/freecad/Mod/$(MODULE);)
|
||||
+ # special treating of Draft module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.py usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.svg usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/*.ui usr/lib/freecad/Mod/Draft
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Draft/draftlibs/*.py usr/lib/freecad/Mod/Draft/draftlibs
|
||||
+ # special treating of Test module
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/lib*.so.* usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/*.py usr/lib/freecad/Mod/Test
|
||||
+ dh_install -pfreecad debian/tmp/freecad/usr/lib/freecad/Mod/Test/QtUnitGui.so usr/lib/freecad/Mod/Test
|
||||
+
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/include/* usr/include
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.la usr/lib/freecad/lib
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/lib/lib*.so usr/lib/freecad/lib
|
||||
+ $(foreach MODULE,$(MODULES), \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.la usr/lib/freecad/Mod/$(MODULE); \
|
||||
+ dh_install -pfreecad-dev debian/tmp/freecad/usr/lib/freecad/Mod/$(MODULE)/lib*.so usr/lib/freecad/Mod/$(MODULE);)
|
||||
+
|
||||
+ # install the help system
|
||||
+ dh_install -pfreecad-doc debian/tmp/freecad/usr/share/doc/* usr/share/doc/
|
||||
+ touch install-stamp
|
||||
+
|
||||
+override_dh_compress:
|
||||
+ dh_compress -X.qch -X.qhc
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ dh binary-arch
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- freecad-0.9.2646.orig/debian/copyright
|
||||
+++ freecad-0.9.2646/debian/copyright
|
||||
@@ -0,0 +1,221 @@
|
||||
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
|
||||
+Upstream-Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-By: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Packaged-Date: 2006-09-26_16:55:15+02:00
|
||||
+Original-Source-Location: http://sourceforge.net/projects/free-cad
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2001-2009 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: LGPL-2+
|
||||
+ This package is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2 of the License, or (at your option) any later version.
|
||||
+ .
|
||||
+ This package is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+ .
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with this package; if not, write to the Free Software
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, US
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/*
|
||||
+Copyright: 2002-2008 Kresimir Fresl, Karl Meerbergen, Toon Knapen,
|
||||
+ Andreas Kloeckner, Jeremy Conlin, Thomas Klimpel, Fabien Dekeyser,
|
||||
+ Quoc-Cuong Pham, Si-Lab b.v.b.a., Joerg Walter
|
||||
+License: other-boost-1.0
|
||||
+ Boost Software License - Version 1.0 - August 17th, 2003
|
||||
+ .
|
||||
+ Permission is hereby granted, free of charge, to any person or organization
|
||||
+ obtaining a copy of the software and accompanying documentation covered by
|
||||
+ this license (the "Software") to use, reproduce, display, distribute,
|
||||
+ execute, and transmit the Software, and to prepare derivative works of the
|
||||
+ Software, and to permit third-parties to whom the Software is furnished to
|
||||
+ do so, all subject to the following:
|
||||
+ .
|
||||
+ The copyright notices in the Software and this entire statement, including
|
||||
+ the above license grant, this restriction and the following disclaimer,
|
||||
+ must be included in all copies of the Software, in whole or in part, and
|
||||
+ all derivative works of the Software, unless such copies or derivative
|
||||
+ works are solely in the form of machine-executable object code generated by
|
||||
+ a source language processor.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
+ DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: src/3rdParty/boost/numeric/bindings/lapack/lapack.hpp,
|
||||
+ src/3rdParty/boost/numeric/bindings/traits/std_valarray.hpp
|
||||
+Copyright: 2003 Toon Knapen, Kresimir Fresl, Karl Meerbergen
|
||||
+License: other
|
||||
+ * Permission to copy, modify, use and distribute this software
|
||||
+ * for any non-commercial or commercial purpose is granted provided
|
||||
+ * that this license appear on all copies of the software source code.
|
||||
+ *
|
||||
+ * Authors assume no responsibility whatsoever for its use and makes
|
||||
+ * no guarantees about its quality, correctness or reliability.
|
||||
+ *
|
||||
+ * KF acknowledges the support of the Faculty of Civil Engineering,
|
||||
+ * University of Zagreb, Croatia.
|
||||
+
|
||||
+Files: src/Base/Base64.*
|
||||
+Copyright: 2004-2008 Rene Nyffenegger <rene.nyffenegger@adp-gmbh.ch>
|
||||
+License: other
|
||||
+ This source code is provided 'as-is', without any express or implied
|
||||
+ warranty. In no event will the author be held liable for any damages
|
||||
+ arising from the use of this software.
|
||||
+ .
|
||||
+ Permission is granted to anyone to use this software for any purpose,
|
||||
+ including commercial applications, and to alter it and redistribute it
|
||||
+ freely, subject to the following restrictions:
|
||||
+ .
|
||||
+ 1. The origin of this source code must not be misrepresented; you must not
|
||||
+ claim that you wrote the original source code. If you use this source code
|
||||
+ in a product, an acknowledgment in the product documentation would be
|
||||
+ appreciated but is not required.
|
||||
+ .
|
||||
+ 2. Altered source versions must be plainly marked as such, and must not be
|
||||
+ misrepresented as being the original source code.
|
||||
+ .
|
||||
+ 3. This notice may not be removed or altered from any source distribution.
|
||||
+
|
||||
+Files: src/Base/fdstream.hpp
|
||||
+Copyright: 2001 Nicolai M. Josuttis
|
||||
+License: other
|
||||
+ Permission to copy, use, modify, sell and distribute this software
|
||||
+ is granted provided this copyright notice appears in all copies.
|
||||
+ This software is provided "as is" without express or implied
|
||||
+ warranty, and with no claim as to its suitability for any purpose.
|
||||
+
|
||||
+Files: src/Base/gzstream.*
|
||||
+Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Base/PyTools.*
|
||||
+Copyright: 1996-2000 Mark Lutz, and O'Reilly and Associates.
|
||||
+License: other
|
||||
+ Permission to use, copy, modify, and distribute this software
|
||||
+ for any purpose and without fee is hereby granted. This software
|
||||
+ is provided on an as is basis, without warranties of any kind.
|
||||
+
|
||||
+Files: src/Gui/iisTaskPanel/src/*
|
||||
+Copyright: http://www.ii-system.com
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Draft/*
|
||||
+Copyright: Yorik van Havre, Werner Mayer, Martin Burbaum
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Mod/Draft/draftlibs/dxf*
|
||||
+Copyright: 2005-2008 Ed Blake, Remigiusz Fiedler, Stani Michiels
|
||||
+License: GPL-2+
|
||||
+
|
||||
+Files: src/Base/BoundBox.h, src/Base/Swap.*, src/Base/Vector3D.*,
|
||||
+ src/Base/ViewProj.h, src/Base/Matrix.*, src/Base/Tools2D.*,
|
||||
+ src/Mod/Mesh/App/Core/*
|
||||
+Copyright: 2005 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Projection.cpp, src/Mod/Mesh/App/Core/Projection.h,
|
||||
+ src/Mod/Mesh/App/Core/Triangulation.cpp, src/Mod/Mesh/App/Core/Triangulation.h
|
||||
+Copyright: 2005 Werner Mayer <werner.wm.mayer@gmx.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/Builder.h, src/Mod/Mesh/App/Core/SetOperations.*
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/BuildRegularGeoms.py
|
||||
+Copyright: 2005 Berthold Grupp
|
||||
+License: LGPL
|
||||
+
|
||||
+Files: src/Mod/Image/App/ImageBase.*, src/Mod/Image/Gui/GLImageBox.*,
|
||||
+ src/Mod/Image/Gui/ImageView.*, src/Mod/Image/Gui/XpmImages.h
|
||||
+Copyright: 2004 Imetric 3D GmbH
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/Core/tritritest.h
|
||||
+Copyright: 1997 Tomas Moller <tam@cs.lth.se>
|
||||
+License: other
|
||||
+ tritritest.h has no licensing information, but Tomas Moller replied
|
||||
+ the following, when asked about it:
|
||||
+ .
|
||||
+ The code is free to use for anyone and any projects, but I give no
|
||||
+ warranties.
|
||||
+
|
||||
+Files: src/Mod/Mesh/App/WildMagic4/*
|
||||
+Copyright: 1998-2007 David Eberly http://www.geometrictools.com
|
||||
+License: LGPL-2.1+
|
||||
+
|
||||
+Files: src/Mod/Raytracing/App/resources/*
|
||||
+Copyright: 2005 Georg Wiora <georg.wiora@quarkbox.de>,
|
||||
+ Juergen Riegel <juergen.riegel@web.de>
|
||||
+License: LGPL-2+
|
||||
+
|
||||
+Files: src/Mod/Sketcher/App/sketchflat/*
|
||||
+Copyright: 2008 Jonathan Westhues
|
||||
+License: GPL-3+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 3 can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
+Files: src/Mod/Test/unittestgui.py
|
||||
+Copyright: 1999-2001 Steve Purcell
|
||||
+License: PSF
|
||||
+ This module is free software, and you may redistribute it and/or modify
|
||||
+ it under the same terms as Python itself, so long as this copyright message
|
||||
+ and disclaimer are retained in their original form.
|
||||
+ .
|
||||
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
||||
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
||||
+ THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ DAMAGE.
|
||||
+ .
|
||||
+ THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
+ PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
|
||||
+ AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
|
||||
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
+
|
||||
+Files: src/Mod/Part/MakeBottle.py, src/Tools/*
|
||||
+Copyright: 2002-2008 Jürgen Riegel <juergen.riegel@web.de>,
|
||||
+ Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+License: GPL-2+
|
||||
+ On Debian systems, the complete text of the GNU General Public License
|
||||
+ version 2 can be found in '/usr/share/common-licenses/GPL-2'.
|
||||
+
|
||||
+Files: src/Tools/generateBase/generateDS.py
|
||||
+Copyright: 2003 Dave Kuhlman
|
||||
+License: MIT
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be
|
||||
+ included in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: debian/*
|
||||
+Copyright: 2007-2009 Werner Mayer <wmayer@users.sourceforge.net>,
|
||||
+ Teemu Ikonen <tpikonen@gmail.com>
|
||||
+License: LGPL-2+
|
||||
--- freecad-0.9.2646.orig/debian/freecad.sharedmimeinfo
|
||||
+++ freecad-0.9.2646/debian/freecad.sharedmimeinfo
|
||||
@@ -0,0 +1,8 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
+ <mime-type type="application/x-extension-fcstd">
|
||||
+ <sub-class-of type="application/zip"/>
|
||||
+ <comment>FreeCAD document files</comment>
|
||||
+ <glob pattern="*.fcstd"/>
|
||||
+ </mime-type>
|
||||
+</mime-info>
|
||||
--- freecad-0.9.2646.orig/debian/freecad.desktop
|
||||
+++ freecad-0.9.2646/debian/freecad.desktop
|
||||
@@ -0,0 +1,19 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Encoding=UTF-8
|
||||
+Name=FreeCAD
|
||||
+Name[de]=FreeCAD
|
||||
+Comment=Feature based Parametric Modeler
|
||||
+Comment[de]=Feature-basierter parametrischer Modellierer
|
||||
+GenericName=CAD Application
|
||||
+GenericName[de]=CAD-Anwendung
|
||||
+Exec=/usr/bin/freecad %F
|
||||
+Path=/usr/lib/freecad
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Icon=/usr/share/freecad/FCIcon.xpm
|
||||
+Categories=Graphics;Science;Engineering
|
||||
+StartupNotify=true
|
||||
+GenericName[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+Comment[de_DE]=Feature-basierter parametrischer Modellierer
|
||||
+MimeType=application/x-extension-fcstd
|
||||
--- freecad-0.9.2646.orig/debian/freecad.1
|
||||
+++ freecad-0.9.2646/debian/freecad.1
|
||||
@@ -0,0 +1,73 @@
|
||||
+.\" Hey, EMACS: -*- nroff -*-
|
||||
+.\" First parameter, NAME, should be all caps
|
||||
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
+.\" other parameters are allowed: see man(7), man(1)
|
||||
+.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
+.\" Please adjust this date whenever revising the manpage.
|
||||
+.\"
|
||||
+.\" Some roff macros, for reference:
|
||||
+.\" .nh disable hyphenation
|
||||
+.\" .hy enable hyphenation
|
||||
+.\" .ad l left justify
|
||||
+.\" .ad b justify to both left and right margins
|
||||
+.\" .nf disable filling
|
||||
+.\" .fi enable filling
|
||||
+.\" .br insert line break
|
||||
+.\" .sp <n> insert n+1 empty lines
|
||||
+.\" for manpage-specific macros, see man(7)
|
||||
+.SH NAME
|
||||
+freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
+.SH SYNOPSIS
|
||||
+.B freecad
|
||||
+.RI [ options ] " files"
|
||||
+.br
|
||||
+.B freecadcmd
|
||||
+.RI [ options ] " files"
|
||||
+.SH DESCRIPTION
|
||||
+.B FreeCAD
|
||||
+is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
+some key concepts like macro recording, workbenches, ability to run as a
|
||||
+server and dynamically loadable application extensions and it is designed
|
||||
+to be platform independent.
|
||||
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
+.\" respectively.
|
||||
+.SH USAGE
|
||||
+\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
+.SH OPTIONS
|
||||
+These programs follow the usual GNU command line syntax, with long
|
||||
+options starting with two dashes (`-').
|
||||
+A summary of the options supported by \fBfreecad\fR is included below.
|
||||
+.SS "Generic options"
|
||||
+.TP
|
||||
+\fB\-h, \-\-help\fR
|
||||
+Show summary of options.
|
||||
+.TP
|
||||
+\fB\-v, \-\-version\fR
|
||||
+Show version of program.
|
||||
+.TP
|
||||
+\fB\-c, \-\-console\fR
|
||||
+Start in console mode.
|
||||
+.TP
|
||||
+\fB\-\-response\-file\fR \fIarg\fR
|
||||
+Can be specified with '@name', too.
|
||||
+
|
||||
+.SS "Configuration"
|
||||
+.TP
|
||||
+\fB\-l, \-\-write\-log\fR
|
||||
+Write a log file.
|
||||
+.TP
|
||||
+\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
+Test level.
|
||||
+.TP
|
||||
+\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
+Additional module path.
|
||||
+.TP
|
||||
+\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
+Additional Python path.
|
||||
+.SH SEE ALSO
|
||||
+To get more information about \fBFreeCAD\fR, please visit \fIhttps://freecadweb.org/wiki\fR
|
||||
+.SH BUGS
|
||||
+To report a bug, please visit \fIhttps://freecadweb.org/tracker/\fR
|
||||
+.SH AUTHOR
|
||||
+This manual page was written by Werner Mayer.
|
||||
--- freecad-0.9.2646.orig/debian/watch
|
||||
+++ freecad-0.9.2646/debian/watch
|
||||
@@ -0,0 +1,2 @@
|
||||
+version=3
|
||||
+http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
|
||||
--- freecad-0.9.2646.orig/debian/menu
|
||||
+++ freecad-0.9.2646/debian/menu
|
||||
@@ -0,0 +1,6 @@
|
||||
+?package(freecad):needs="X11"\
|
||||
+ section="Applications/Science/Engineering"\
|
||||
+ title="FreeCAD"\
|
||||
+ command="/usr/bin/freecad"\
|
||||
+ icon="/usr/share/freecad/FCIcon.xpm"
|
||||
+
|
||||
--- freecad-0.9.2646.orig/debian/freecad.links
|
||||
+++ freecad-0.9.2646/debian/freecad.links
|
||||
@@ -0,0 +1,3 @@
|
||||
+usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
+usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
+usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
--- freecad-0.9.2646.orig/debian/changelog
|
||||
+++ freecad-0.9.2646/debian/changelog
|
||||
@@ -0,0 +1,140 @@
|
||||
+freecad (0.9.2646-1) unstable; urgency=low
|
||||
+
|
||||
+ [ Werner Mayer ]
|
||||
+ * New upstream release
|
||||
+ * In-source copy of PyCXX has been dropped (closes: #547936)
|
||||
+ * In-source copy of zipios++ has been dropped (closes: #547941)
|
||||
+ * Change build-dependency on python2.5-dev to python-dev
|
||||
+ * Add freecad-doc binary package
|
||||
+ * Remove Suggestion of a chm viewer, suggest freecad-doc instead
|
||||
+
|
||||
+ [ Teemu Ikonen ]
|
||||
+ * Add override to dh_compress
|
||||
+ * Add versioned build-deb to debhelper (>= 7.0.50)
|
||||
+ * Add build-deps to libzipios++-dev and python-cxx-dev.
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 17 Nov 2009 14:22:00 +0100
|
||||
+
|
||||
+freecad (0.8.2237-2) unstable; urgency=low
|
||||
+
|
||||
+ * Added libboost-python-dev to Build-Depends (closes: #549738).
|
||||
+ * Added myself to uploaders list.
|
||||
+ * Bumped Standards-Version.
|
||||
+
|
||||
+ -- Adam C. Powell, IV <hazelsct@debian.org> Thu, 12 Nov 2009 12:02:42 -0500
|
||||
+
|
||||
+freecad (0.8.2237-1) unstable; urgency=low
|
||||
+
|
||||
+ * New Upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 16 Jul 2009 18:37:41 +0200
|
||||
+
|
||||
+freecad (0.7.1658-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 20 Oct 2008 15:35:58 +0200
|
||||
+
|
||||
+freecad (0.7.1514-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream version
|
||||
+ * Add more stuff to the copyright file
|
||||
+ * control: add build-dep to python-central
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Wed, 06 Aug 2008 18:25:02 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1hardy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Package for Ubuntu 8.04 (Hardy Heron)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 29 May 2008 11:11:20 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1gutsy1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.10 (Gutsy Gibbon)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 01:54:39 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1feisty1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Backport to Ubuntu 7.04 (Feisty Fawn)
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 24 May 2008 00:09:08 +0200
|
||||
+
|
||||
+freecad (0.7.1350-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New upstream release from sf.net
|
||||
+ * Import to debian-science repository at git.debian.org
|
||||
+ * control:
|
||||
+ - Update to standards-version 3.7.3
|
||||
+ - Add Vcs-* fields pointing to git.debian.org
|
||||
+ - Improve descriptions
|
||||
+ * Convert copyright to (pseudo) machine readable format, audit source
|
||||
+ * Fix categories in .desktop file
|
||||
+ * Change Section to Science/Engineering in .doc-base and menu files
|
||||
+ * rules: do not ignore errors on clean target, add dh_desktop call
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 05 Aug 2008 18:58:07 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu2) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New package with fixed self-dependency problem
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 15:34:34 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1ubuntu1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * New debian package for Feisty
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Thu, 22 May 2008 11:04:06 +0200
|
||||
+
|
||||
+freecad (0.7.1344-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Write patch file to make builds with OpenCASCADE libs inside but with no
|
||||
+ dependency to libopencascade6.2
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Wed, 21 May 2008 10:06:07 +0200
|
||||
+
|
||||
+freecad (0.7.1343-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Embed required OpenCASCADE libs into this package as long as no official
|
||||
+ Debian package is available
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 20 May 2008 00:40:39 +0200
|
||||
+
|
||||
+freecad (0.7.1342-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Switch to new versioning scheme of OpenCASCADE packages
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 19 May 2008 23:55:31 +0200
|
||||
+
|
||||
+freecad (0.7.1316-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Support of pivy (Python binding for Coin/SoQt)
|
||||
+ * Support of PyQt4
|
||||
+ * General support of SWIG modules
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sat, 26 Apr 2008 13:51:25 +0200
|
||||
+
|
||||
+freecad (0.7.1031-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port finished
|
||||
+ * Support of Python binding for Qt4
|
||||
+ * Support of Python binding for Coin
|
||||
+ * Support of entirely in Python written modules
|
||||
+ * Added support of model driven architecture for Python binding
|
||||
+ * Use boost's signal/slot mechanism to update data
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 04 Jan 2008 13:50:37 +0200
|
||||
+
|
||||
+freecad (0.7.645-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Qt4 port started
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 24 Jul 2007 13:04:37 +0200
|
||||
+
|
||||
+freecad (0.6.472-1) UNRELEASED; urgency=low
|
||||
+
|
||||
+ * Initial Release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 26 Sep 2006 16:55:15 +0200
|
||||
+
|
||||
@@ -1,207 +0,0 @@
|
||||
--- pivy-0.3.0.orig/interfaces/soqt.i
|
||||
+++ pivy-0.3.0/interfaces/soqt.i
|
||||
@@ -78,7 +78,7 @@
|
||||
%include pivy_common_typemaps.i
|
||||
|
||||
/* import the pivy main interface file */
|
||||
-%import coin.i
|
||||
+%import(module="pivy") coin.i
|
||||
|
||||
/* typemaps to bridge against PyQt */
|
||||
%typemap(out) QEvent * {
|
||||
--- pivy-0.3.0.orig/debian/changelog
|
||||
+++ pivy-0.3.0/debian/changelog
|
||||
@@ -0,0 +1,5 @@
|
||||
+pivy (0.3.0-1) unstable; urgency=low
|
||||
+
|
||||
+ * Initial release (Closes: #504617)
|
||||
+
|
||||
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 13 Nov 2008 15:31:51 +0100
|
||||
--- pivy-0.3.0.orig/debian/rules
|
||||
+++ pivy-0.3.0/debian/rules
|
||||
@@ -0,0 +1,62 @@
|
||||
+#!/usr/bin/make -f
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+build: build-stamp
|
||||
+build-stamp:
|
||||
+ dh_testdir
|
||||
+ python setup.py build
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ rm -f build-stamp install-stamp
|
||||
+ python setup.py clean
|
||||
+ dh_clean
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+ python setup.py install --no-compile --root debian/python-pivy
|
||||
+ #dh install --after dh_installdirs
|
||||
+ touch install-stamp
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ #dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ #dh binary-arch
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+# dh_install
|
||||
+# dh_installmenu
|
||||
+# dh_installdebconf
|
||||
+# dh_installlogrotate
|
||||
+# dh_installemacsen
|
||||
+# dh_installpam
|
||||
+# dh_installmime
|
||||
+# dh_desktop
|
||||
+# dh_installinit
|
||||
+# dh_installcron
|
||||
+# dh_installinfo
|
||||
+ dh_installman
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_pycentral
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- pivy-0.3.0.orig/debian/control
|
||||
+++ pivy-0.3.0/debian/control
|
||||
@@ -0,0 +1,25 @@
|
||||
+Source: pivy
|
||||
+Section: python
|
||||
+Priority: extra
|
||||
+Maintainer: Teemu Ikonen <tpikonen@gmail.com>
|
||||
+Build-Depends: debhelper (>= 6), python-support, python-all-dev,
|
||||
+ libsoqt4-dev, libcoin40-dev, libsimage-dev, swig
|
||||
+Standards-Version: 3.8.0
|
||||
+Homepage: http://pivy.coin3d.org/
|
||||
+
|
||||
+Package: python-pivy
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+Provides: ${python:Provides}
|
||||
+Description: Coin binding for Python
|
||||
+ Pivy is a Coin binding for Python. Coin is a high-level 3D graphics library
|
||||
+ with a C++ Application Programming Interface. Coin uses scene-graph data
|
||||
+ structures to render real-time graphics suitable for mostly all kinds of
|
||||
+ scientific and engineering visualization applications.
|
||||
+ Pivy allows:
|
||||
+ .
|
||||
+ * Development of Coin applications and extensions in Python
|
||||
+ * Interactive modification of Coin programs from within the
|
||||
+ Python interpreter at runtime
|
||||
+ * Incorporation of Scripting Nodes into the scene graph which
|
||||
+ are capable of executing Python code and callbacks
|
||||
--- pivy-0.3.0.orig/debian/compat
|
||||
+++ pivy-0.3.0/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+6
|
||||
--- pivy-0.3.0.orig/debian/pyversions
|
||||
+++ pivy-0.3.0/debian/pyversions
|
||||
@@ -0,0 +1 @@
|
||||
+2.4-
|
||||
--- pivy-0.3.0.orig/debian/pycompat
|
||||
+++ pivy-0.3.0/debian/pycompat
|
||||
@@ -0,0 +1 @@
|
||||
+2
|
||||
--- pivy-0.3.0.orig/debian/docs
|
||||
+++ pivy-0.3.0/debian/docs
|
||||
@@ -0,0 +1,6 @@
|
||||
+NEWS
|
||||
+README
|
||||
+HACKING
|
||||
+THANKS
|
||||
+docs/ruby-inventor.txt
|
||||
+
|
||||
--- pivy-0.3.0.orig/debian/watch
|
||||
+++ pivy-0.3.0/debian/watch
|
||||
@@ -0,0 +1,10 @@
|
||||
+# See uscan(1) for format
|
||||
+
|
||||
+# Compulsory line, this is a version 3 file
|
||||
+version=3
|
||||
+
|
||||
+# <Webpage URL> <string match>
|
||||
+http://pivy.coin3d.org/download/pivy Pivy-(.*)\.tar\.gz
|
||||
+
|
||||
+# Uncomment to examine a Webserver directory
|
||||
+#http://www.example.com/pub/pivy-(.*)\.tar\.gz
|
||||
--- pivy-0.3.0.orig/debian/copyright
|
||||
+++ pivy-0.3.0/debian/copyright
|
||||
@@ -0,0 +1,58 @@
|
||||
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
|
||||
+Upstream-Author: Tamer Fahmy <tamer@tammura.at>
|
||||
+Packaged-By: Teemu Ikonen <tpikonen@gmail.com>
|
||||
+Original-Source-Location: http://pivy.coin3d.org/download/pivy/releases/0.3.0/Pivy-0.3.0.tar.gz
|
||||
+
|
||||
+Files: *
|
||||
+Copyright: 2002-2005 Tamer Fahmy <tamer@tammura.at>
|
||||
+License: BSD-3
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions are
|
||||
+ met:
|
||||
+ * Redistributions of source code must retain the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+ * Redistributions in binary form must reproduce the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer in
|
||||
+ the documentation and/or other materials provided with the
|
||||
+ distribution.
|
||||
+ * Neither the name of the copyright holder nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived
|
||||
+ from this software without specific prior written permission.
|
||||
+ .
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+Files: scons/*
|
||||
+Copyright: 2001, 2002, 2003, 2004 The SCons Foundation
|
||||
+License: other
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining
|
||||
+ a copy of this software and associated documentation files (the
|
||||
+ "Software"), to deal in the Software without restriction, including
|
||||
+ without limitation the rights to use, copy, modify, merge, publish,
|
||||
+ distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+ permit persons to whom the Software is furnished to do so, subject to
|
||||
+ the following conditions:
|
||||
+ .
|
||||
+ The above copyright notice and this permission notice shall be included
|
||||
+ in all copies or substantial portions of the Software.
|
||||
+ .
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
||||
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+Files: debian/*
|
||||
+Copyright: 2008 Teemu Ikonen <tpikonen@gmail.com>
|
||||
+License: BSD-3
|
||||
@@ -1,181 +0,0 @@
|
||||
--- pythonocc-0.2.0.orig/src/environment.py
|
||||
+++ pythonocc-0.2.0/src/environment.py
|
||||
@@ -68,8 +68,8 @@
|
||||
SWIG_FILES_PATH_MODULAR = os.path.join(os.getcwd(),'SWIG_src_modular_linux_darwin')
|
||||
os.environ['CC'] = 'g++'
|
||||
os.environ['CPP'] = 'g++'
|
||||
- OCC_INC = '/usr/local/inc' # Ubuntu 8.04 Hardy default installation path for headers
|
||||
- OCC_LIB = '/usr/local/lib' # Ubuntu 8.04 Hardy default installation path for libraries
|
||||
+ OCC_INC = '/usr/include/opencascade' # Ubuntu 8.04 Hardy default installation path for headers
|
||||
+ OCC_LIB = '/usr/lib' # Ubuntu 8.04 Hardy default installation path for libraries
|
||||
SALOME_GEOM_INC = os.path.join(os.getcwd(),'..','ThirdPart','SalomeGeometry','inc')
|
||||
SALOME_GEOM_LIB = os.path.join(os.getcwd(),'..','ThirdPart','SalomeGeometry','win32','lib')
|
||||
GCC_XML_PATH = '/usr/bin' # Ubuntu 8.04 Hardy installation path for gccxml
|
||||
--- pythonocc-0.2.0.orig/src/setup.py
|
||||
+++ pythonocc-0.2.0/src/setup.py
|
||||
@@ -167,19 +167,19 @@
|
||||
#
|
||||
# OpenCascade libs
|
||||
#
|
||||
-libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'mscmd', 'PTKernel',\
|
||||
+libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'PTKernel',\
|
||||
'StdLPlugin', 'StdPlugin', 'TKAdvTools', 'TKBin', 'TKBinL', 'TKBinTObj', 'TKBinXCAF',\
|
||||
- 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', 'TKCDLFront', 'TKCPPClient', 'TKCPPExt',\
|
||||
- 'TKCPPIntExt', 'TKCPPJini', 'TKCSFDBSchema', 'TKDCAF', 'TKDraw', 'TKernel',\
|
||||
- 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR', 'TKIDLFront',\
|
||||
+ 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', \
|
||||
+ 'TKernel',\
|
||||
+ 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR',\
|
||||
'TKIGES', 'TKjcas','TKLCAF', 'TKMath', 'TKMesh', 'TKMeshVS', 'TKNIS', 'TKOffset',\
|
||||
'TKOpenGl', 'TKPCAF', 'TKPLCAF', 'TKPrim', 'TKPShape', 'TKService', 'TKShapeSchema',\
|
||||
'TKShHealing', 'TKStdLSchema', 'TKStdSchema', 'TKSTEP', 'TKSTEP209', 'TKSTEPAttr',\
|
||||
- 'TKSTEPBase', 'TKSTL', 'TKTCPPExt', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo', 'TKTopTest',\
|
||||
- 'TKV2d', 'TKV3d', 'TKViewerTest', 'TKVRML', 'TKWOK', 'TKWOKTcl', 'TKXCAF', 'TKXCAFSchema',\
|
||||
- 'TKXDEDRAW', 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
|
||||
- 'TKXmlXCAF', 'TKXSBase', 'TKXSDRAW', 'wokcmd', 'wokdeliverysteps', 'wokdfltsteps',\
|
||||
- 'wokobjssteps', 'wokorbixsteps', 'woksteps', 'woktoolscmd', 'wokutilscmd', 'XCAFPlugin',\
|
||||
+ 'TKSTEPBase', 'TKSTL', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo',\
|
||||
+ 'TKV2d', 'TKV3d', 'TKVRML', 'TKXCAF', 'TKXCAFSchema',\
|
||||
+ 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
|
||||
+ 'TKXmlXCAF', 'TKXSBase',\
|
||||
+ 'XCAFPlugin',\
|
||||
'XmlLPlugin', 'XmlPlugin', 'XmlXCAFPlugin']
|
||||
# Find the lib in OCC_LIB path and add it to the LIBS list
|
||||
LIBS = []
|
||||
@@ -298,4 +298,4 @@
|
||||
if GENERATE_SWIG:
|
||||
print "%i exported classes"%SWIG_generator.nb_exported_classes
|
||||
final_time = time.time()
|
||||
-print final_time-init_time
|
||||
\ No newline at end of file
|
||||
+print final_time-init_time
|
||||
--- pythonocc-0.2.0.orig/debian/changelog
|
||||
+++ pythonocc-0.2.0/debian/changelog
|
||||
@@ -0,0 +1,6 @@
|
||||
+pythonocc (0.2.0-1) unstable; urgency=low
|
||||
+
|
||||
+ * Initial release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Tue, 12 Apr 2009 14:20:27 +0100
|
||||
+
|
||||
--- pythonocc-0.2.0.orig/debian/rules
|
||||
+++ pythonocc-0.2.0/debian/rules
|
||||
@@ -0,0 +1,76 @@
|
||||
+#!/usr/bin/make -f
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+configure:
|
||||
+ chmod 755 src/Display/OCCViewer.py
|
||||
+ chmod 755 src/Display/wxDisplay.py
|
||||
+ chmod 755 src/Display/wxSamplesGui.py
|
||||
+ chmod 755 Utils/Image.py
|
||||
+ chmod 644 gpl.txt
|
||||
+ chmod 644 src/AUTHORS
|
||||
+
|
||||
+build: build-stamp
|
||||
+build-stamp: configure
|
||||
+ dh_testdir
|
||||
+ cd src && python setup.py build
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ rm -f build-stamp install-stamp
|
||||
+ cd src && python setup.py clean
|
||||
+ dh_clean
|
||||
+ rm -rf src/build
|
||||
+ rm -rf src/OCC
|
||||
+ find -name '*.pyc' | xargs rm -rf
|
||||
+ cd src/SWIG_src_modular_linux_darwin && find -name '*_wrap.cpp' | xargs rm -rf
|
||||
+ cd src/Misc && find -name '*_wrap.cpp' | xargs rm -rf
|
||||
+ cd src/Visualization && find -name '*_wrap.cpp' | xargs rm -rf
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+ cd src && python setup.py install --no-compile --root ../debian/python-occ
|
||||
+ #dh install --after dh_installdirs
|
||||
+ touch install-stamp
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ #dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ #dh binary-arch
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+# dh_install
|
||||
+# dh_installmenu
|
||||
+# dh_installdebconf
|
||||
+# dh_installlogrotate
|
||||
+# dh_installemacsen
|
||||
+# dh_installpam
|
||||
+# dh_installmime
|
||||
+# dh_desktop
|
||||
+# dh_installinit
|
||||
+# dh_installcron
|
||||
+# dh_installinfo
|
||||
+ dh_installman
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_pycentral
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- pythonocc-0.2.0.orig/debian/control
|
||||
+++ pythonocc-0.2.0/debian/control
|
||||
@@ -0,0 +1,17 @@
|
||||
+Source: pythonocc
|
||||
+Section: python
|
||||
+Priority: extra
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Build-Depends: debhelper (>= 6), python, python-central, python-support, swig, libopencascade-dev
|
||||
+Standards-Version: 3.7.3
|
||||
+XS-Python-Version: current
|
||||
+Homepage: http://pythonocc.org/
|
||||
+
|
||||
+Package: python-occ
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+XB-Python-Version: ${python:Versions}
|
||||
+Provides: ${python:Provides}
|
||||
+Description: Python binding for OpenCASCADE
|
||||
+ pythonOCC is Python binding for OpenCASCADE.
|
||||
+
|
||||
--- pythonocc-0.2.0.orig/debian/compat
|
||||
+++ pythonocc-0.2.0/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+6
|
||||
--- pythonocc-0.2.0.orig/debian/pyversions
|
||||
+++ pythonocc-0.2.0/debian/pyversions
|
||||
@@ -0,0 +1 @@
|
||||
+2.4-
|
||||
--- pythonocc-0.2.0.orig/debian/pycompat
|
||||
+++ pythonocc-0.2.0/debian/pycompat
|
||||
@@ -0,0 +1 @@
|
||||
+2
|
||||
--- pythonocc-0.2.0.orig/debian/copyright
|
||||
+++ pythonocc-0.2.0/debian/copyright
|
||||
@@ -0,0 +1,7 @@
|
||||
+Files: *
|
||||
+Copyright: 2008 Thomas Paviot <thomas.paviot@free.fr>
|
||||
+License: GPL-3
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU General Public
|
||||
+ License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
@@ -1,179 +0,0 @@
|
||||
--- pythonocc-0.3.0.orig/src/wrapper/environment.py
|
||||
+++ pythonocc-0.3.0/src/wrapper/environment.py
|
||||
@@ -126,8 +126,8 @@
|
||||
OCC_INC = os.path.join(OCC_ROOT,'inc')
|
||||
OCC_LIB = os.path.join(OCC_ROOT,'lib')
|
||||
else:
|
||||
- OCC_INC = '/usr/local/inc' # Ubuntu 8.04 Hardy default installation path for headers
|
||||
- OCC_LIB = '/usr/local/lib' # Ubuntu 8.04 Hardy default installation path for libraries
|
||||
+ OCC_INC = '/usr/include/opencascade' # Ubuntu 8.04 Hardy default installation path for headers
|
||||
+ OCC_LIB = '/usr/lib' # Ubuntu 8.04 Hardy default installation path for libraries
|
||||
SALOME_GEOM_LIB = '/opt/SalomeGeometry/lib'
|
||||
GCC_XML_PATH = '/usr/bin' # Ubuntu 8.04 Hardy installation path for gccxml
|
||||
PYGCCXML_DEFINES = ['HAVE_CONFIG_H','HAVE_LIMITS_H','CSFDB','OCC_CONVERT_SIGNALS','LIN','LININTEL','_GNU_SOURCE=1']
|
||||
--- pythonocc-0.3.0.orig/src/setup.py
|
||||
+++ pythonocc-0.3.0/src/setup.py
|
||||
@@ -172,18 +172,18 @@
|
||||
#
|
||||
# OpenCascade libs
|
||||
#
|
||||
-libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'mscmd', 'PTKernel',\
|
||||
+libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', 'PTKernel',\
|
||||
'StdLPlugin', 'StdPlugin', 'TKAdvTools', 'TKBin', 'TKBinL', 'TKBinTObj', 'TKBinXCAF',\
|
||||
- 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', 'TKCDLFront', 'TKCPPClient', 'TKCPPExt',\
|
||||
- 'TKCPPIntExt', 'TKCPPJini', 'TKCSFDBSchema', 'TKDCAF', 'TKDraw', 'TKernel',\
|
||||
- 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR', 'TKIDLFront',\
|
||||
+ 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF',\
|
||||
+ 'TKernel',\
|
||||
+ 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', 'TKGeomBase', 'TKHLR',\
|
||||
'TKIGES', 'TKjcas','TKLCAF', 'TKMath', 'TKMesh', 'TKMeshVS', 'TKNIS', 'TKOffset',\
|
||||
'TKOpenGl', 'TKPCAF', 'TKPLCAF', 'TKPrim', 'TKPShape', 'TKService', 'TKShapeSchema',\
|
||||
'TKShHealing', 'TKStdLSchema', 'TKStdSchema', 'TKSTEP', 'TKSTEP209', 'TKSTEPAttr',\
|
||||
- 'TKSTEPBase', 'TKSTL', 'TKTCPPExt', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo', 'TKTopTest',\
|
||||
- 'TKV2d', 'TKV3d', 'TKViewerTest', 'TKVRML', 'TKWOK', 'TKWOKTcl', 'TKXCAF', 'TKXCAFSchema',\
|
||||
- 'TKXDEDRAW', 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
|
||||
- 'TKXmlXCAF', 'TKXSBase', 'TKXSDRAW', 'XCAFPlugin',\
|
||||
+ 'TKSTEPBase', 'TKSTL', 'TKTObj', 'TKTObjDRAW', 'TKTopAlgo',\
|
||||
+ 'TKV2d', 'TKV3d', 'TKVRML', 'TKXCAF', 'TKXCAFSchema',\
|
||||
+ 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', 'TKXmlTObj',\
|
||||
+ 'TKXmlXCAF', 'TKXSBase',\
|
||||
'XmlLPlugin', 'XmlPlugin', 'XmlXCAFPlugin']
|
||||
# Find the lib in OCC_LIB path and add it to the LIBS list
|
||||
LIBS = []
|
||||
--- pythonocc-0.3.0.orig/debian/changelog
|
||||
+++ pythonocc-0.3.0/debian/changelog
|
||||
@@ -0,0 +1,6 @@
|
||||
+pythonocc (0.3.0-1) unstable; urgency=low
|
||||
+
|
||||
+ * Initial release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Mon, 24 Aug 2009 12:41:48 +0200
|
||||
+
|
||||
--- pythonocc-0.3.0.orig/debian/rules
|
||||
+++ pythonocc-0.3.0/debian/rules
|
||||
@@ -0,0 +1,80 @@
|
||||
+#!/usr/bin/make -f
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+configure:
|
||||
+ chmod 755 src/addons/Display/OCCViewer.py
|
||||
+ chmod 755 src/addons/Display/wxDisplay.py
|
||||
+ chmod 755 src/addons/Display/wxSamplesGui.py
|
||||
+ chmod 755 src/addons/Display/wxSamplesGui2d.py
|
||||
+ chmod 755 src/addons/Utils/DataExchange/STL.py
|
||||
+ chmod 755 src/addons/Utils/DataExchange/STEP.py
|
||||
+ chmod 755 src/addons/Utils/Common.py
|
||||
+ chmod 755 src/addons/Utils/Image.py
|
||||
+ #chmod 644 src/AUTHORS
|
||||
+
|
||||
+build: build-stamp
|
||||
+build-stamp: configure
|
||||
+ dh_testdir
|
||||
+ cd src && python setup.py build
|
||||
+ touch $@
|
||||
+
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ rm -f build-stamp install-stamp
|
||||
+ cd src && python setup.py clean
|
||||
+ dh_clean
|
||||
+ rm -rf src/build
|
||||
+ rm -rf src/OCC
|
||||
+ find -name '*.pyc' | xargs rm -rf
|
||||
+ cd src/wrapper && find -name '*.pyc' | xargs rm -rf
|
||||
+ cd src/wrapper/Misc && find -name '*_wrap.cpp' | xargs rm -rf
|
||||
+ cd src/wrapper/SWIG/linux_darwin && find -name '*_wrap.cpp' | xargs rm -rf
|
||||
+ cd src/wrapper/Visualization && find -name '*_wrap.cpp' | xargs rm -rf
|
||||
+
|
||||
+install: build install-stamp
|
||||
+install-stamp:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+ cd src && python setup.py install --no-compile --root ../debian/python-occ
|
||||
+ #dh install --after dh_installdirs
|
||||
+ touch install-stamp
|
||||
+
|
||||
+binary-indep: build install
|
||||
+ #dh binary-indep
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ #dh binary-arch
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+# dh_install
|
||||
+# dh_installmenu
|
||||
+# dh_installdebconf
|
||||
+# dh_installlogrotate
|
||||
+# dh_installemacsen
|
||||
+# dh_installpam
|
||||
+# dh_installmime
|
||||
+# dh_desktop
|
||||
+# dh_installinit
|
||||
+# dh_installcron
|
||||
+# dh_installinfo
|
||||
+ dh_installman
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_pycentral
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- pythonocc-0.3.0.orig/debian/control
|
||||
+++ pythonocc-0.3.0/debian/control
|
||||
@@ -0,0 +1,20 @@
|
||||
+Source: pythonocc
|
||||
+Section: python
|
||||
+Priority: extra
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Build-Depends: debhelper (>= 6), python, python-central, python-support, swig, libopencascade-dev, salomegeom-dev
|
||||
+Standards-Version: 3.7.3
|
||||
+XS-Python-Version: current
|
||||
+Homepage: http://pythonocc.org/
|
||||
+
|
||||
+Package: python-occ
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
|
||||
+XB-Python-Version: ${python:Versions}
|
||||
+Provides: ${python:Provides}
|
||||
+Description: A framework for agile CAD development
|
||||
+ PythonOCC is a Python wrapper module for the
|
||||
+ OpenCascade library. It contains python functions and classes
|
||||
+ that will allow you to fully utilitize the OpenCascade library.
|
||||
+ This version is built against OpenCascade 6.3.0.
|
||||
+
|
||||
--- pythonocc-0.3.0.orig/debian/compat
|
||||
+++ pythonocc-0.3.0/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+6
|
||||
--- pythonocc-0.3.0.orig/debian/pyversions
|
||||
+++ pythonocc-0.3.0/debian/pyversions
|
||||
@@ -0,0 +1 @@
|
||||
+2.4-
|
||||
--- pythonocc-0.3.0.orig/debian/pycompat
|
||||
+++ pythonocc-0.3.0/debian/pycompat
|
||||
@@ -0,0 +1 @@
|
||||
+2
|
||||
--- pythonocc-0.3.0.orig/debian/copyright
|
||||
+++ pythonocc-0.3.0/debian/copyright
|
||||
@@ -0,0 +1,7 @@
|
||||
+Files: *
|
||||
+Copyright: 2008 Thomas Paviot <thomas.paviot@free.fr>
|
||||
+License: GPL-3
|
||||
+ .
|
||||
+ On Debian systems, the complete text of the GNU General Public
|
||||
+ License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
|
||||
+
|
||||
@@ -1,299 +0,0 @@
|
||||
--- salomegeom-4.1.4.orig/adm/lin/Makefile.am
|
||||
+++ salomegeom-4.1.4/adm/lin/Makefile.am
|
||||
@@ -2,10 +2,10 @@
|
||||
# geomdir = ./
|
||||
|
||||
# copy some files
|
||||
-targetdir = $(prefix)
|
||||
-dist_target_DATA = LICENCE.lgpl
|
||||
+#targetdir = $(datadir)
|
||||
+#dist_target_DATA = LICENCE.lgpl
|
||||
|
||||
-resourcedir = $(prefix)/resources
|
||||
+resourcedir = $(datadir)/resources
|
||||
dist_resource_DATA = $(srcdir)/resources/GUID.txt $(srcdir)/resources/ImportExport $(srcdir)/resources/Resources $(srcdir)/resources/ShHealing
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
AM_CPPFLAGS = -I$(CASROOT)/inc -I$(srcdir)/$(geomdir)inc/ -I$(srcdir)/$(geomdir)src/GEOMAlgo -I$(srcdir)/$(geomdir)src/BlockFix -I$(srcdir)/$(geomdir)src/GEOM -I$(srcdir)/$(geomdir)src/NMTTools -I$(srcdir)/$(geomdir)src/NMTDS
|
||||
|
||||
# set library names
|
||||
-lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOMImpl.la libGEOM.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libShHealOper.la libSketcher.la
|
||||
+lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOM.la libShHealOper.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libSketcher.la libGEOMImpl.la
|
||||
|
||||
# set global linker flags
|
||||
AM_LDFLAGS = -version-info 1:0:0
|
||||
@@ -24,24 +24,24 @@
|
||||
uninstall-local:
|
||||
-rm -rf $(DESTDIR)$(libdir)
|
||||
-rm -rf $(DESTDIR)$(includedir)
|
||||
- -rm -rf $(DESTDIR)$(prefix)/resources
|
||||
- -rm $(DESTDIR)$(prefix)/env_geom.sh
|
||||
+ -rm -rf $(DESTDIR)$(datadir)/resources
|
||||
+ -rm $(DESTDIR)$(datadir)/env_geom.sh
|
||||
|
||||
install-exec-local:
|
||||
- test -z "$(DESTDIR)$(prefix)" || $(mkdir_p) "$(DESTDIR)$(prefix)"
|
||||
- @echo "#!/bin/bash" > $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "export CSF_ResourcesDefaults="$(prefix)/resources >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "fi" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- chmod a+x $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- test -z "$(DESTDIR)$(prefix)/resources" || $(mkdir_p) "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/Resources "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(prefix)/resources"
|
||||
+ test -z "$(DESTDIR)$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)"
|
||||
+ @echo "#!/bin/bash" > $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "export CSF_ResourcesDefaults="$(datadir)/resources >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "fi" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ chmod a+x $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ test -z "$(DESTDIR)$(datadir)/resources" || $(mkdir_p) "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/Resources "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(datadir)/resources"
|
||||
|
||||
# set ARCHIMDE sources
|
||||
libArchimede_la_SOURCES = $(srcdir)/$(geomdir)src/Archimede/Archimede_VolumeSection.cpp
|
||||
@@ -581,6 +581,26 @@
|
||||
# libShHealOper_la_LDFLAGS = -version-info 0:0:0
|
||||
# libSketcher_la_LDFLAGS = -version-info 0:0:0
|
||||
|
||||
+libArchimede_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKGeomAlgo -lTKGeomBase -lTKG3d -lTKMesh
|
||||
+libExchangeBREP_la_LIBADD = -lTKMath -lTKernel -lTKBRep
|
||||
+libExchangeCSFDB_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKPShape -lTKShapeSchema -lPTKernel
|
||||
+libExchangeIGES_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKIGES
|
||||
+libExchangeSTEP_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKSTEP
|
||||
+libExchangeSTL_la_LIBADD = -lTKernel -lTKSTL
|
||||
+libExchangeVRML_la_LIBADD = -lTKernel -lTKVRML
|
||||
+libNMTDS_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO
|
||||
+libNMTTools_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKTopAlgo -lNMTDS
|
||||
+libGEOMAlgo_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo \
|
||||
+ -lTKGeomBase -lTKTopAlgo -lTKMesh -lTKShHealing -lNMTDS -lNMTTools
|
||||
+libGEOM_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKCAF -lTKCDF -lTKLCAF -lTKXSBase \
|
||||
+ -lTKAdvTools -lTKG2d
|
||||
+libGEOMImpl_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKCAF -lTKOffset -lTKPrim -lTKShHealing \
|
||||
+ -lTKBool -lTKBO -lTKMesh -lTKG2d -lTKG3d -lTKFillet -lTKGeomAlgo -lTKGeomBase -lTKLCAF \
|
||||
+ -lGEOMAlgo -lGEOM -lArchimede -lShHealOper -lSketcher -ldl
|
||||
+libPartition_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomAlgo -lTKGeomBase -lTKOffset
|
||||
+libShHealOper_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKShHealing -lTKTopAlgo -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKLCAF
|
||||
+libSketcher_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKG2d -lTKGeomAlgo
|
||||
+
|
||||
# include files to be copied to installdir/inc
|
||||
include_HEADERS = $(srcdir)/$(geomdir)inc/Archimede_VolumeSection.hxx \
|
||||
$(srcdir)/$(geomdir)inc/BlockFix_BlockFixAPI.hxx \
|
||||
--- salomegeom-4.1.4.orig/debian/changelog
|
||||
+++ salomegeom-4.1.4/debian/changelog
|
||||
@@ -0,0 +1,6 @@
|
||||
+salomegeom (4.1.4-5) unstable; urgency=low
|
||||
+
|
||||
+ * Initial release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
|
||||
+
|
||||
--- salomegeom-4.1.4.orig/debian/rules
|
||||
+++ salomegeom-4.1.4/debian/rules
|
||||
@@ -0,0 +1,129 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+# Sample debian/rules that uses debhelper.
|
||||
+# This file was originally written by Joey Hess and Craig Small.
|
||||
+# As a special exception, when this file is copied by dh-make into a
|
||||
+# dh-make output file, you may use that output file without restriction.
|
||||
+# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+BUILD_DIR = adm/lin
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure:
|
||||
+ chmod u-x resources/GUID.txt
|
||||
+ chmod u-x resources/ImportExport
|
||||
+ chmod u-x resources/Resources
|
||||
+ chmod u-x resources/ShHealing
|
||||
+ chmod u-x resources/ShHealingFullSet
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ autoreconf --install
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+# Add here commands to configure the package.
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+ --prefix=/usr --includedir=/usr/include/salomegeom \
|
||||
+ --libdir=/usr/lib --datadir=/usr/share/salomegeom \
|
||||
+ LDFLAGS="-Wl,-z,defs -L/usr/lib" \
|
||||
+ CXXFLAGS="$(CXXFLAGS) -I/usr/include/opencascade"
|
||||
+
|
||||
+build: build-links build-stamp
|
||||
+
|
||||
+build-links:
|
||||
+ dh_testdir
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ ln -s ../../inc inc && \
|
||||
+ ln -s ../../resources resources && \
|
||||
+ ln -s ../../src src
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+
|
||||
+# Add here commands to compile the package.
|
||||
+ cd $(BUILD_DIR) && $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+# Add here commands to clean up after the build process.
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean
|
||||
+# We always get some strange symlinks in these directories which we must remove first
|
||||
+ rm -f inc/inc
|
||||
+ rm -f src/src
|
||||
+ rm -f resources/resources
|
||||
+ rm -f build-stamp
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ rm -f configure && \
|
||||
+ rm -f inc resources src && \
|
||||
+ find -name 'Makefile.in' | xargs rm -f && \
|
||||
+ find -name 'Makefile' | xargs rm -f && \
|
||||
+ find -name '*.o' | xargs rm -f && \
|
||||
+ find -name '*.la' | xargs rm -f && \
|
||||
+ find -name '*.lo' | xargs rm -f && \
|
||||
+ find -name '*.deps' | xargs rm -rf && \
|
||||
+ find -name '*.libs' | xargs rm -rf && \
|
||||
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh && \
|
||||
+ rm -f ltmain.sh missing config.log libtool && \
|
||||
+ rm -f config.h config.h.in config.status && \
|
||||
+ rm -rf build-aux autom4te.cache
|
||||
+
|
||||
+install: build-stamp
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+
|
||||
+# Add here commands to install the package into debian/salomegeom.
|
||||
+ cd $(BUILD_DIR) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/salomegeom
|
||||
+
|
||||
+# install the core system
|
||||
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/share/* usr/share/
|
||||
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/lib/lib*.so.* usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.so usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.la usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.a usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/include/* usr/include
|
||||
+
|
||||
+# Build architecture-independent files here.
|
||||
+binary-indep: build install
|
||||
+# We have nothing to do by default.
|
||||
+
|
||||
+# Build architecture-dependent files here.
|
||||
+binary-arch: build install
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+ dh_desktop
|
||||
+# dh_installinfo
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_makeshlibs
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
+
|
||||
--- salomegeom-4.1.4.orig/debian/control
|
||||
+++ salomegeom-4.1.4/debian/control
|
||||
@@ -0,0 +1,26 @@
|
||||
+Source: salomegeom
|
||||
+Section: libs
|
||||
+Priority: extra
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Build-Depends: cdbs, debhelper (>= 5), libopencascade-dev
|
||||
+Standards-Version: 3.7.3
|
||||
+
|
||||
+Package: salomegeom
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
+Description: SALOME Geometry Module
|
||||
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
|
||||
+ the original SALOME GEOM project but an effort to create a standalone
|
||||
+ framework based on the existing one from SALOME project, with the
|
||||
+ addition of extra functionality.
|
||||
+
|
||||
+Package: salomegeom-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: salomegeom (>= ${source:Version})
|
||||
+Description: SALOME Geometry Module development files
|
||||
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
|
||||
+ the original SALOME GEOM project but an effort to create a standalone
|
||||
+ framework based on the existing one from SALOME project, with the
|
||||
+ addition of extra functionality.
|
||||
+
|
||||
--- salomegeom-4.1.4.orig/debian/compat
|
||||
+++ salomegeom-4.1.4/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+5
|
||||
--- salomegeom-4.1.4.orig/debian/README.Debian
|
||||
+++ salomegeom-4.1.4/debian/README.Debian
|
||||
@@ -0,0 +1,6 @@
|
||||
+salomegeom for Debian
|
||||
+---------------------
|
||||
+
|
||||
+- First Debian package for SalomeGeom.
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
|
||||
--- salomegeom-4.1.4.orig/debian/docs
|
||||
+++ salomegeom-4.1.4/debian/docs
|
||||
@@ -0,0 +1 @@
|
||||
+README.LINUX
|
||||
--- salomegeom-4.1.4.orig/debian/copyright
|
||||
+++ salomegeom-4.1.4/debian/copyright
|
||||
@@ -0,0 +1,16 @@
|
||||
+This package was debianized by Werner Mayer <wmayer@users.sourceforge.net> on
|
||||
+Sun, 23 Aug 2009 17:12:19 +0200.
|
||||
+
|
||||
+It was downloaded from http://surfnet.dl.sourceforge.net/project/salomegeometry/salomegeometry/4.1.4_v5/geom-4.1.4.5.tar.gz
|
||||
+
|
||||
+Upstream Author:
|
||||
+ Fotis Sioutis <sfotis@users.sourceforge.net>
|
||||
+
|
||||
+Copyright:
|
||||
+ Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
+ CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
+
|
||||
+License: LGPL-2.1
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||
+
|
||||
@@ -1,307 +0,0 @@
|
||||
--- salomegeom-5.1.1.orig/adm/lin/Makefile.am
|
||||
+++ salomegeom-5.1.1/adm/lin/Makefile.am
|
||||
@@ -2,10 +2,10 @@
|
||||
# geomdir = ./
|
||||
|
||||
# copy some files
|
||||
-targetdir = $(prefix)
|
||||
-dist_target_DATA = LICENCE.lgpl
|
||||
+#targetdir = $(datadir)
|
||||
+#dist_target_DATA = LICENCE.lgpl
|
||||
|
||||
-resourcedir = $(prefix)/resources
|
||||
+resourcedir = $(datadir)/resources
|
||||
dist_resource_DATA = $(srcdir)/resources/GUID.txt $(srcdir)/resources/ImportExport $(srcdir)/resources/Resources $(srcdir)/resources/ShHealing
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
AM_CPPFLAGS = -I$(CASROOT)/inc -I$(srcdir)/$(geomdir)inc/ -I$(srcdir)/$(geomdir)src/GEOMAlgo -I$(srcdir)/$(geomdir)src/BlockFix -I$(srcdir)/$(geomdir)src/GEOM -I$(srcdir)/$(geomdir)src/NMTTools -I$(srcdir)/$(geomdir)src/NMTDS
|
||||
|
||||
# set library names
|
||||
-lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOMImpl.la libGEOM.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libShHealOper.la libSketcher.la
|
||||
+lib_LTLIBRARIES = libExchangeCSFDB.la libArchimede.la libNMTDS.la libNMTTools.la libGEOMAlgo.la libGEOM.la libShHealOper.la libExchangeBREP.la libExchangeIGES.la libExchangeSTEP.la libExchangeSTL.la libExchangeVRML.la libPartition.la libSketcher.la libGEOMImpl.la
|
||||
|
||||
# set global linker flags
|
||||
AM_LDFLAGS = -version-info 1:0:0
|
||||
@@ -24,24 +24,24 @@
|
||||
uninstall-local:
|
||||
-rm -rf $(DESTDIR)$(libdir)
|
||||
-rm -rf $(DESTDIR)$(includedir)
|
||||
- -rm -rf $(DESTDIR)$(prefix)/resources
|
||||
- -rm $(DESTDIR)$(prefix)/env_geom.sh
|
||||
+ -rm -rf $(DESTDIR)$(datadir)/resources
|
||||
+ -rm $(DESTDIR)$(datadir)/env_geom.sh
|
||||
|
||||
install-exec-local:
|
||||
- test -z "$(DESTDIR)$(prefix)" || $(mkdir_p) "$(DESTDIR)$(prefix)"
|
||||
- @echo "#!/bin/bash" > $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "export CSF_ResourcesDefaults="$(prefix)/resources >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- @echo "fi" >> $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- chmod a+x $(DESTDIR)$(prefix)/env_geom.sh
|
||||
- test -z "$(DESTDIR)$(prefix)/resources" || $(mkdir_p) "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/Resources "$(DESTDIR)$(prefix)/resources"
|
||||
- cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(prefix)/resources"
|
||||
+ test -z "$(DESTDIR)$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)"
|
||||
+ @echo "#!/bin/bash" > $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "export GEOMROOT="$(prefix) >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "export CSF_ResourcesDefaults="$(datadir)/resources >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "if [ -z "LD_LIBRARY_PATH" ];" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "then LD_LIBRARY_PATH="$(libdir)";" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "else LD_LIBRARY_PATH="$(libdir)":\$$LD_LIBRARY_PATH;" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ @echo "fi" >> $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ chmod a+x $(DESTDIR)$(datadir)/env_geom.sh
|
||||
+ test -z "$(DESTDIR)$(datadir)/resources" || $(mkdir_p) "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/GUID.txt "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/ImportExport "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/Resources "$(DESTDIR)$(datadir)/resources"
|
||||
+ cp $(srcdir)/resources/ShHealing "$(DESTDIR)$(datadir)/resources"
|
||||
|
||||
# set ARCHIMDE sources
|
||||
libArchimede_la_SOURCES = $(srcdir)/$(geomdir)src/Archimede/Archimede_VolumeSection.cpp
|
||||
@@ -582,6 +582,26 @@
|
||||
# libShHealOper_la_LDFLAGS = -version-info 0:0:0
|
||||
# libSketcher_la_LDFLAGS = -version-info 0:0:0
|
||||
|
||||
+libArchimede_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKGeomAlgo -lTKGeomBase -lTKG3d -lTKMesh
|
||||
+libExchangeBREP_la_LIBADD = -lTKMath -lTKernel -lTKBRep
|
||||
+libExchangeCSFDB_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKPShape -lTKShapeSchema -lPTKernel
|
||||
+libExchangeIGES_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKIGES
|
||||
+libExchangeSTEP_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKSTEP
|
||||
+libExchangeSTL_la_LIBADD = -lTKernel -lTKSTL
|
||||
+libExchangeVRML_la_LIBADD = -lTKernel -lTKVRML
|
||||
+libNMTDS_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO
|
||||
+libNMTTools_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKTopAlgo -lNMTDS
|
||||
+libGEOMAlgo_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKBO -lTKG2d -lTKG3d -lTKGeomAlgo \
|
||||
+ -lTKGeomBase -lTKTopAlgo -lTKMesh -lTKShHealing -lNMTDS -lNMTTools
|
||||
+libGEOM_la_LIBADD = -lTKMath -lTKernel -lTKXSBase -lTKBRep -lTKCAF -lTKCDF -lTKLCAF -lTKXSBase \
|
||||
+ -lTKAdvTools -lTKG2d
|
||||
+libGEOMImpl_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKCAF -lTKOffset -lTKPrim -lTKShHealing \
|
||||
+ -lTKBool -lTKBO -lTKMesh -lTKG2d -lTKG3d -lTKFillet -lTKGeomAlgo -lTKGeomBase -lTKLCAF \
|
||||
+ -lGEOMAlgo -lGEOM -lArchimede -lShHealOper -lSketcher -ldl
|
||||
+libPartition_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomAlgo -lTKGeomBase -lTKOffset
|
||||
+libShHealOper_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKBool -lTKShHealing -lTKTopAlgo -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKLCAF
|
||||
+libSketcher_la_LIBADD = -lTKMath -lTKernel -lTKBRep -lTKTopAlgo -lTKG2d -lTKGeomAlgo
|
||||
+
|
||||
# include files to be copied to installdir/inc
|
||||
include_HEADERS = $(srcdir)/$(geomdir)inc/Archimede_VolumeSection.hxx \
|
||||
$(srcdir)/$(geomdir)inc/BlockFix_BlockFixAPI.hxx \
|
||||
@@ -921,7 +941,6 @@
|
||||
$(srcdir)/$(geomdir)inc/ShHealOper_RemoveInternalWires.hxx \
|
||||
$(srcdir)/$(geomdir)inc/ShHealOper_Sewing.hxx \
|
||||
$(srcdir)/$(geomdir)inc/ShHealOper_ShapeProcess.hxx \
|
||||
-$(srcdir)/$(geomdir)inc/ShHealOper_SpiltCurve2d.hxx \
|
||||
$(srcdir)/$(geomdir)inc/ShHealOper_SplitCurve2d.hxx \
|
||||
$(srcdir)/$(geomdir)inc/ShHealOper_SplitCurve3d.hxx \
|
||||
$(srcdir)/$(geomdir)inc/ShHealOper_Tool.hxx \
|
||||
--- salomegeom-5.1.1.orig/debian/changelog
|
||||
+++ salomegeom-5.1.1/debian/changelog
|
||||
@@ -0,0 +1,6 @@
|
||||
+salomegeom (5.1.1-6) unstable; urgency=low
|
||||
+
|
||||
+ * Initial release
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
|
||||
+
|
||||
--- salomegeom-5.1.1.orig/debian/rules
|
||||
+++ salomegeom-5.1.1/debian/rules
|
||||
@@ -0,0 +1,129 @@
|
||||
+#!/usr/bin/make -f
|
||||
+# -*- makefile -*-
|
||||
+# Sample debian/rules that uses debhelper.
|
||||
+# This file was originally written by Joey Hess and Craig Small.
|
||||
+# As a special exception, when this file is copied by dh-make into a
|
||||
+# dh-make output file, you may use that output file without restriction.
|
||||
+# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+# These are used for cross-compiling and for saving the configure script
|
||||
+# from having to guess our platform (since we know it already)
|
||||
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+BUILD_DIR = adm/lin
|
||||
+
|
||||
+CFLAGS = -Wall -g
|
||||
+
|
||||
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
+ CFLAGS += -O0
|
||||
+else
|
||||
+ CFLAGS += -O2
|
||||
+endif
|
||||
+
|
||||
+configure:
|
||||
+ chmod u-x resources/GUID.txt
|
||||
+ chmod u-x resources/ImportExport
|
||||
+ chmod u-x resources/Resources
|
||||
+ chmod u-x resources/ShHealing
|
||||
+ chmod u-x resources/ShHealingFullSet
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ autoreconf --install
|
||||
+
|
||||
+config.status: configure
|
||||
+ dh_testdir
|
||||
+# Add here commands to configure the package.
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||
+ --prefix=/usr --includedir=/usr/include/salomegeom \
|
||||
+ --libdir=/usr/lib --datadir=/usr/share/salomegeom \
|
||||
+ LDFLAGS="-Wl,-z,defs -L/usr/lib" \
|
||||
+ CXXFLAGS="$(CXXFLAGS) -I/usr/include/opencascade"
|
||||
+
|
||||
+build: build-links build-stamp
|
||||
+
|
||||
+build-links:
|
||||
+ dh_testdir
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ ln -s ../../inc inc && \
|
||||
+ ln -s ../../resources resources && \
|
||||
+ ln -s ../../src src
|
||||
+
|
||||
+build-stamp: config.status
|
||||
+ dh_testdir
|
||||
+
|
||||
+# Add here commands to compile the package.
|
||||
+ cd $(BUILD_DIR) && $(MAKE)
|
||||
+ touch $@
|
||||
+
|
||||
+# Add here commands to clean up after the build process.
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean
|
||||
+# We always get some strange symlinks in these directories which we must remove first
|
||||
+ rm -f inc/inc
|
||||
+ rm -f src/src
|
||||
+ rm -f resources/resources
|
||||
+ rm -f build-stamp
|
||||
+ cd $(BUILD_DIR) && \
|
||||
+ rm -f configure && \
|
||||
+ rm -f inc resources src && \
|
||||
+ find -name 'Makefile.in' | xargs rm -f && \
|
||||
+ find -name 'Makefile' | xargs rm -f && \
|
||||
+ find -name '*.o' | xargs rm -f && \
|
||||
+ find -name '*.la' | xargs rm -f && \
|
||||
+ find -name '*.lo' | xargs rm -f && \
|
||||
+ find -name '*.deps' | xargs rm -rf && \
|
||||
+ find -name '*.libs' | xargs rm -rf && \
|
||||
+ rm -f stamp-h1 aclocal.m4 config.guess config.sub depcomp install-sh && \
|
||||
+ rm -f ltmain.sh missing config.log libtool && \
|
||||
+ rm -f config.h config.h.in config.status && \
|
||||
+ rm -rf build-aux autom4te.cache
|
||||
+
|
||||
+install: build-stamp
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_clean -k
|
||||
+ dh_installdirs
|
||||
+
|
||||
+# Add here commands to install the package into debian/salomegeom.
|
||||
+ cd $(BUILD_DIR) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/salomegeom
|
||||
+
|
||||
+# install the core system
|
||||
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/share/* usr/share/
|
||||
+ dh_install -psalomegeom debian/tmp/salomegeom/usr/lib/lib*.so.* usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.so usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.la usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/lib/lib*.a usr/lib
|
||||
+ dh_install -psalomegeom-dev debian/tmp/salomegeom/usr/include/* usr/include
|
||||
+
|
||||
+# Build architecture-independent files here.
|
||||
+binary-indep: build install
|
||||
+# We have nothing to do by default.
|
||||
+
|
||||
+# Build architecture-dependent files here.
|
||||
+binary-arch: build install
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs
|
||||
+ dh_installdocs
|
||||
+ dh_installexamples
|
||||
+ dh_desktop
|
||||
+# dh_installinfo
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_makeshlibs
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
+
|
||||
--- salomegeom-5.1.1.orig/debian/control
|
||||
+++ salomegeom-5.1.1/debian/control
|
||||
@@ -0,0 +1,26 @@
|
||||
+Source: salomegeom
|
||||
+Section: libs
|
||||
+Priority: extra
|
||||
+Maintainer: Werner Mayer <wmayer@users.sourceforge.net>
|
||||
+Build-Depends: cdbs, debhelper (>= 5), libopencascade-dev
|
||||
+Standards-Version: 3.7.3
|
||||
+
|
||||
+Package: salomegeom
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
+Description: SALOME Geometry Module
|
||||
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
|
||||
+ the original SALOME GEOM project but an effort to create a standalone
|
||||
+ framework based on the existing one from SALOME project, with the
|
||||
+ addition of extra functionality.
|
||||
+
|
||||
+Package: salomegeom-dev
|
||||
+Architecture: any
|
||||
+Section: libdevel
|
||||
+Depends: salomegeom (>= ${source:Version})
|
||||
+Description: SALOME Geometry Module development files
|
||||
+ A complete OpenCascade - OCAF based CAD framework.Note that this is not
|
||||
+ the original SALOME GEOM project but an effort to create a standalone
|
||||
+ framework based on the existing one from SALOME project, with the
|
||||
+ addition of extra functionality.
|
||||
+
|
||||
--- salomegeom-5.1.1.orig/debian/compat
|
||||
+++ salomegeom-5.1.1/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+5
|
||||
--- salomegeom-5.1.1.orig/debian/README.Debian
|
||||
+++ salomegeom-5.1.1/debian/README.Debian
|
||||
@@ -0,0 +1,6 @@
|
||||
+salomegeom for Debian
|
||||
+---------------------
|
||||
+
|
||||
+- First Debian package for SalomeGeom.
|
||||
+
|
||||
+ -- Werner Mayer <wmayer@users.sourceforge.net> Sun, 23 Aug 2009 17:12:19 +0200
|
||||
--- salomegeom-5.1.1.orig/debian/docs
|
||||
+++ salomegeom-5.1.1/debian/docs
|
||||
@@ -0,0 +1 @@
|
||||
+README.LINUX
|
||||
--- salomegeom-5.1.1.orig/debian/copyright
|
||||
+++ salomegeom-5.1.1/debian/copyright
|
||||
@@ -0,0 +1,16 @@
|
||||
+This package was debianized by Werner Mayer <wmayer@users.sourceforge.net> on
|
||||
+Sun, 23 Aug 2009 17:12:19 +0200.
|
||||
+
|
||||
+It was downloaded from https://salomegeometry.svn.sourceforge.net/svnroot/salomegeometry/tags/5.1.1_v6
|
||||
+
|
||||
+Upstream Author:
|
||||
+ Fotis Sioutis <sfotis@users.sourceforge.net>
|
||||
+
|
||||
+Copyright:
|
||||
+ Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
+ CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
+
|
||||
+License: LGPL-2.1
|
||||
+ On Debian systems, the complete text of the GNU Lesser General Public
|
||||
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||
+
|
||||
@@ -1,7 +0,0 @@
|
||||
usr/share/icons/hicolor/16x16/apps
|
||||
usr/share/icons/hicolor/32x32/apps
|
||||
usr/share/icons/hicolor/48x48/apps
|
||||
usr/share/icons/hicolor/64x64/apps
|
||||
usr/share/icons/hicolor/scalable/apps
|
||||
usr/share/icons/hicolor/64x64/mimetypes
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
Document: freecad-development-documentation
|
||||
Title: FreeCAD development documentation
|
||||
Author: FreeCAD developers
|
||||
Abstract: FreeCAD is a general purpose Open Source 3D
|
||||
CAD/MCAD/CAx/CAE/PLM modeler, aimed directly at mechanical engineering
|
||||
and product design but also fits in a wider range of uses around
|
||||
engineering, such as architecture or other engineering specialties.
|
||||
It is a feature-based parametric modeler with a modular software
|
||||
architecture which makes it easy to provide additional functionality
|
||||
without modifying the core system.
|
||||
Section: Science/Engineering
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/freecad-doc/Start_Page.html
|
||||
Files: /usr/share/doc/freecad-doc/*.q*
|
||||
@@ -1 +0,0 @@
|
||||
debian/tmp/usr/lib/freecad/doc/*
|
||||
@@ -1,73 +0,0 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH FREECAD 1 "July 25, 2007" freecad "Linux User's Manual"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
freecad \- An extensible Open Source CAx program for Unix/X11
|
||||
.SH SYNOPSIS
|
||||
.B freecad
|
||||
.RI [ options ] " files"
|
||||
.br
|
||||
.B freecadcmd
|
||||
.RI [ options ] " files"
|
||||
.SH DESCRIPTION
|
||||
.B FreeCAD
|
||||
is an Open Source CAx RAD based on OpenCasCade, Qt and Python. It features
|
||||
some key concepts like macro recording, workbenches, ability to run as a
|
||||
server and dynamically loadable application extensions and it is designed
|
||||
to be platform independent.
|
||||
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
.\" respectively.
|
||||
.SH USAGE
|
||||
\fBfreecad\fR starts with a GUI while \fBfreecadcmd\fR is only a pure command line version that starts a Python interpreter.
|
||||
.SH OPTIONS
|
||||
These programs follow the usual GNU command line syntax, with long
|
||||
options starting with two dashes (`-').
|
||||
A summary of the options supported by \fBfreecad\fR is included below.
|
||||
.SS "Generic options"
|
||||
.TP
|
||||
\fB\-h, \-\-help\fR
|
||||
Show summary of options.
|
||||
.TP
|
||||
\fB\-v, \-\-version\fR
|
||||
Show version of program.
|
||||
.TP
|
||||
\fB\-c, \-\-console\fR
|
||||
Start in console mode.
|
||||
.TP
|
||||
\fB\-\-response\-file\fR \fIarg\fR
|
||||
Can be specified with '@name', too.
|
||||
|
||||
.SS "Configuration"
|
||||
.TP
|
||||
\fB\-l, \-\-write\-log\fR
|
||||
Write a log file.
|
||||
.TP
|
||||
\fB\-t, \-\-run\-test\fR \fIarg\fR
|
||||
Test level.
|
||||
.TP
|
||||
\fB\-M, \-\-module\-path\fR \fIarg\fR
|
||||
Additional module path.
|
||||
.TP
|
||||
\fB\-P, \-\-python\-path\fR \fIarg\fR
|
||||
Additional Python path.
|
||||
.SH SEE ALSO
|
||||
To get more information about \fBFreeCAD\fR, please visit \fIhttp://www.freecadweb.org\fR
|
||||
.SH BUGS
|
||||
To report a bug, please visit \fIhttp://www.freecadweb.org/tracker/my_view_page.php\fR
|
||||
.SH AUTHOR
|
||||
This manual page was written by Werner Mayer.
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<application>
|
||||
<id type="desktop">freecad.desktop</id>
|
||||
<metadata_licence>CC-BY-3.0</metadata_licence>
|
||||
<project_license>LGPL-2.1+</project_license>
|
||||
<name>FreeCAD</name>
|
||||
<summary>An open source parametric 3D CAD modeler</summary>
|
||||
<description>
|
||||
<p>FreeCAD is a parametric 3D modeler. Parametric modeling
|
||||
allows you to easily modify your design by going back into
|
||||
your model history and changing its parameters. FreeCAD is
|
||||
open source (LGPL license) and completely modular, allowing
|
||||
for very advanced extension and customization.</p>
|
||||
<p>FreeCAD is multiplatform, and reads and writes many open
|
||||
file formats such as STEP, IGES, STL and others.</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default" width="800" height="600">http://www.freecadweb.org/wiki/images/5/56/Freecad_jeep.png</screenshot>
|
||||
</screenshots>
|
||||
<url type="homepage">http://www.freecadweb.org</url>
|
||||
<updatecontact>yorik@uncreated.net</updatecontact>
|
||||
</application>
|
||||
@@ -1,6 +0,0 @@
|
||||
debian/freecad.desktop usr/share/applications
|
||||
debian/menu usr/share/menu/freecad
|
||||
usr/share/freecad
|
||||
usr/lib/freecad/bin
|
||||
usr/lib/freecad/Mod
|
||||
usr/lib/freecad/lib
|
||||
@@ -1,3 +0,0 @@
|
||||
usr/lib/freecad/bin/FreeCAD usr/bin/freecad
|
||||
usr/lib/freecad/bin/FreeCADCmd usr/bin/freecadcmd
|
||||
usr/share/man/man1/freecad.1.gz usr/share/man/man1/freecadcmd.1.gz
|
||||
@@ -1 +0,0 @@
|
||||
freecad: binary-or-shlib-defines-rpath
|
||||
@@ -1,2 +0,0 @@
|
||||
debian/freecad.1
|
||||
debian/mime/freecad-thumbnailer.1
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
<mime-type type="application/x-extension-fcstd">
|
||||
<!-- <sub-class-of type="application/zip"/> -->
|
||||
<comment>FreeCAD document files</comment>
|
||||
<glob pattern="*.fcstd"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
@@ -1,6 +0,0 @@
|
||||
?package(freecad):needs="X11"\
|
||||
section="Applications/Science/Engineering"\
|
||||
title="FreeCAD"\
|
||||
command="/usr/bin/freecad"\
|
||||
icon="/usr/share/freecad/freecad.xpm"
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
.TH FREECAD 1 "August 04, 2008" freecad "Linux User's Manual"
|
||||
.SH NAME
|
||||
freecad-thumbnailer \- A thumbnailer for FreeCAD project files
|
||||
.SH SYNOPSIS
|
||||
\fBfreecad-thumbnailer\fP [ -s \fIsize\fP ] \fIinput file\fP \fIoutput file\fP
|
||||
.SH DESCRIPTION
|
||||
\fBfreecad-thumbnailer\fP
|
||||
is a Python script that extracts an embedded thumbnail from a FreeCAD project file.
|
||||
If no thumbnail is embedded then nothing happens. According to the specification of
|
||||
freedesktop.org the thumbnail image is a PNG file. The required \fBinput file\fP argument
|
||||
specifies the project file where the thumbnail should be extracted from and the
|
||||
\fBoutput file\fP specifies the file where the thumbnail should be written to.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB-s \fIsize\fR
|
||||
Specify the size of the image in pixel.
|
||||
.SH "SEE ALSO"
|
||||
freecad(1), freecadcmd(1)
|
||||
.SH AUTHOR
|
||||
This manual page was written by Werner Mayer.
|
||||
@@ -1,30 +0,0 @@
|
||||
<gconfschemafile>
|
||||
<schemalist>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</key>
|
||||
<applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/enable</applyto>
|
||||
<owner>freecad</owner>
|
||||
<type>bool</type>
|
||||
<default>true</default>
|
||||
<locale name="C">
|
||||
<short>Enable thumbnailing of FreeCAD documents.</short>
|
||||
<long>Enable thumbnailing of FreeCAD documents.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</key>
|
||||
<applyto>/desktop/gnome/thumbnailers/application@x-extension-fcstd/command</applyto>
|
||||
<owner>freecad</owner>
|
||||
<type>string</type>
|
||||
<default>/usr/bin/freecad-thumbnailer -s %s %u %o</default>
|
||||
<locale name="C">
|
||||
<short>Thumbnail command for documents from FreeCAD.</short>
|
||||
<long>Valid command plus arguments for freecad-thumbnailer.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
</schemalist>
|
||||
</gconfschemafile>
|
||||
@@ -1,4 +0,0 @@
|
||||
[Thumbnailer Entry]
|
||||
TryExec=/usr/bin/freecad-thumbnailer
|
||||
Exec=/usr/bin/freecad-thumbnailer -s %s %u %o
|
||||
MimeType=application/x-extension-fcstd;
|
||||
@@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
if [ -d /usr/share/freecad/Mod/Robot/Lib/Kuka ]; then
|
||||
echo "resource files installed..."
|
||||
else
|
||||
echo "getting resource files ..."
|
||||
wgetoptions="--tries=2 --timeout=60"
|
||||
downloadurl="http://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk"
|
||||
downloaddir="--directory-prefix=/usr/share/freecad/Mod/Robot/Lib/Kuka"
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr16.wrl
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr125_3.wrl
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr210.WRL
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr500_1.csv
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr500_1.wrl
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr_16.csv
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr_125.csv
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/kr_210_2.csv
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/testprog.dat
|
||||
wget $wgetoptions $downloaddir $downloadurl/src/Mod/Robot/Lib/Kuka/testprog.src
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
downloaddir="/usr/share/freecad/Mod/Robot/Lib/Kuka"
|
||||
rm -f $downloaddir/kr16.wrl
|
||||
rm -f $downloaddir/kr125_3.wrl
|
||||
rm -f $downloaddir/kr210.WRL
|
||||
rm -f $downloaddir/kr500_1.csv
|
||||
rm -f $downloaddir/kr500_1.wrl
|
||||
rm -f $downloaddir/kr_16.csv
|
||||
rm -f $downloaddir/kr_125.csv
|
||||
rm -f $downloaddir/kr_210_2.csv
|
||||
rm -f $downloaddir/testprog.dat
|
||||
rm -f $downloaddir/testprog.src
|
||||
;;
|
||||
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@ --buildsystem=cmake --parallel --with python2
|
||||
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
extra_flags += \
|
||||
-DFREECAD_BUILD_DEBIAN=ON \
|
||||
-DBUILD_FEM_NETGEN=ON \
|
||||
-DCMAKE_CXX_FLAGS="-Wall -DHAVE_SWIG=1 -fpermissive $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \
|
||||
-DCMAKE_C_FLAGS="-Wall -fpermissive $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="$(shell dpkg-buildflags --get LDFLAGS)" \
|
||||
-DLIB_SUFFIX="" \
|
||||
-DOCC_INCLUDE_DIR="/usr/include/oce" \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr/lib/freecad" \
|
||||
-DCMAKE_INSTALL_DATADIR="/usr/share/freecad"
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- $(extra_flags)
|
||||
cp -f src/Build/Version.h obj-$(DEB_BUILD_GNU_TYPE)/src/Build/Version.h
|
||||
|
||||
override_dh_compress:
|
||||
dh_compress -X.qch -X.qhc
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs ChangeLog.txt
|
||||
|
||||
override_dh_installmime:
|
||||
dh_installmime
|
||||
dh_install debian/mime/freecad-thumbnailer usr/bin
|
||||
dh_install debian/mime/freecad.thumbnailer usr/share/thumbnailers
|
||||
dh_install debian/mime/freecad.schemas etc/gconf/schemas
|
||||
|
||||
override_dh_icons:
|
||||
install -m 644 debian/freecad/usr/share/freecad/freecad-icon-16.png debian/freecad/usr/share/icons/hicolor/16x16/apps/freecad.png
|
||||
install -m 644 debian/freecad/usr/share/freecad/freecad-icon-32.png debian/freecad/usr/share/icons/hicolor/32x32/apps/freecad.png
|
||||
install -m 644 debian/freecad/usr/share/freecad/freecad-icon-32.png debian/freecad/usr/share/icons/hicolor/48x48/apps/freecad.png
|
||||
install -m 644 debian/freecad/usr/share/freecad/freecad-icon-64.png debian/freecad/usr/share/icons/hicolor/64x64/apps/freecad.png
|
||||
install -m 644 debian/freecad/usr/share/freecad/freecad.svg debian/freecad/usr/share/icons/hicolor/scalable/apps/freecad.svg
|
||||
install -m 644 debian/freecad/usr/share/freecad/freecad-doc.png debian/freecad/usr/share/icons/hicolor/64x64/mimetypes/application-x-extension-fcstd.png
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# The script creates a tar.xz tarball from git-repository of freecad-project
|
||||
# ./get_orig_src.sh commitID - creates a tarball of specified commit
|
||||
# ./get_orig_src.sh - creates a tarball of the latest version
|
||||
# Packages, that needs to be installed to use the script:
|
||||
# atool, git-core
|
||||
|
||||
set -e
|
||||
|
||||
git clone git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad git_temp_packaging
|
||||
|
||||
cd git_temp_packaging
|
||||
|
||||
if [ $1 ]
|
||||
then
|
||||
echo 'Checking out the revision ' $1
|
||||
git checkout -b newvers $1
|
||||
else
|
||||
echo 'Using the latest revision'
|
||||
fi
|
||||
|
||||
GIT_CMT_COUNT=$(git rev-list HEAD | wc -l)
|
||||
|
||||
DEB_VER=0.13.$GIT_CMT_COUNT-dfsg
|
||||
FOLDER_NAME=freecad-$DEB_VER
|
||||
TARBALL_NAME=freecad_$DEB_VER.orig.tar.xz
|
||||
|
||||
echo $DEB_VER
|
||||
echo $FOLDER_NAME
|
||||
echo $TARBALL_NAME
|
||||
|
||||
python src/Tools/SubWCRev.py
|
||||
|
||||
cd ..
|
||||
|
||||
rm -fr $FOLDER_NAME
|
||||
|
||||
mv git_temp_packaging $FOLDER_NAME
|
||||
rm -rf $FOLDER_NAME/.git
|
||||
rm -rf $FOLDER_NAME/src/3rdParty/CxImage
|
||||
rm -rf $FOLDER_NAME/src/3rdParty/Pivy
|
||||
rm -rf $FOLDER_NAME/src/3rdParty/Pivy-0.5
|
||||
|
||||
tar Jcvf $TARBALL_NAME $FOLDER_NAME
|
||||
|
||||
rm -fr $FOLDER_NAME
|
||||
@@ -1 +0,0 @@
|
||||
1.0
|
||||
@@ -1,3 +0,0 @@
|
||||
# Lintian thinks uploader Adam Powell's name violates policy
|
||||
freecad source: uploader-address-missing "Adam C. Powell
|
||||
freecad source: uploader-not-full-name IV"
|
||||
@@ -1,2 +0,0 @@
|
||||
version=3
|
||||
http://sf.net/free-cad/freecad_(.+)\.orig\.tar\.gz
|
||||
@@ -0,0 +1,257 @@
|
||||
|
||||
# Maintainers: keep this list of plugins up to date
|
||||
# List plugins in %%{_libdir}/%{name}/lib, less '.so' and 'Gui.so', here
|
||||
%global plugins Drawing Fem FreeCAD Image Import Inspection Mesh MeshPart Part Points QtUnit Raytracing ReverseEngineering Robot Sketcher Start Web PartDesignGui _PartDesign Path PathGui Spreadsheet SpreadsheetGui area DraftUtils DraftUtils libDriver libDriverDAT libDriverSTL libDriverUNV libMEFISTO2 libSMDS libSMESH libSMESHDS libStdMeshers Measure TechDraw TechDrawGui libarea-native Surface SurfaceGui PathSimulator
|
||||
|
||||
# Some plugins go in the Mod folder instead of lib. Deal with those here:
|
||||
%global mod_plugins Mod/PartDesign
|
||||
%define name freecad
|
||||
%define github_name FreeCAD
|
||||
%define branch master
|
||||
|
||||
Name: %{name}
|
||||
Epoch: 1
|
||||
Version: 0.18_pre
|
||||
Release: {{{ git_commits_no }}}
|
||||
Summary: A general purpose 3D CAD modeler
|
||||
Group: Applications/Engineering
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://sourceforge.net/apps/mediawiki/free-cad/
|
||||
Source0: https://github.com/%{github_name}/FreeCAD/archive/%{branch}.tar.gz
|
||||
|
||||
BuildRequires: Coin3
|
||||
BuildRequires: Coin3-devel
|
||||
BuildRequires: Inventor-devel
|
||||
BuildRequires: OCE-devel
|
||||
BuildRequires: OCE-draw
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: eigen3
|
||||
BuildRequires: eigen3-devel
|
||||
BuildRequires: freeimage-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: git
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libspnav
|
||||
BuildRequires: libspnav-devel
|
||||
BuildRequires: med
|
||||
BuildRequires: med-devel
|
||||
BuildRequires: mesa-libGLU-devel
|
||||
BuildRequires: netgen-mesher-devel
|
||||
BuildRequires: netgen-mesher-devel-private
|
||||
BuildRequires: pyside-tools
|
||||
BuildRequires: python
|
||||
BuildRequires: python-matplotlib
|
||||
BuildRequires: python-pivy
|
||||
BuildRequires: python-pyside
|
||||
BuildRequires: python-pyside-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: qt-devel
|
||||
BuildRequires: qt-webkit-devel
|
||||
BuildRequires: shiboken
|
||||
BuildRequires: shiboken-devel
|
||||
BuildRequires: smesh
|
||||
BuildRequires: smesh-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: tbb-devel
|
||||
BuildRequires: vtk-devel
|
||||
BuildRequires: xerces-c
|
||||
BuildRequires: xerces-c-devel
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?fedora} > 28
|
||||
BuildRequires: boost-python2
|
||||
BuildRequires: boost-python2-devel
|
||||
BuildRequires: boost-python3
|
||||
BuildRequires: boost-python3-devel
|
||||
BuildRequires: mesa-libEGL-devel
|
||||
BuildRequires: python3-matplotlib
|
||||
%endif
|
||||
|
||||
# For appdata
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: libappstream-glib
|
||||
%endif
|
||||
|
||||
# Packages separated because they are noarch, but not optional so require them
|
||||
# here.
|
||||
Requires: %{name}-data = %{epoch}:%{version}-%{release}
|
||||
# Obsolete old doc package since it's required for functionality.
|
||||
Obsoletes: %{name}-doc < 0.13-5
|
||||
|
||||
# Needed for plugin support and is not a soname dependency.
|
||||
%if ! 0%{?rhel} <= 6 && "%{_arch}" != "ppc64"
|
||||
# python-pivy does not build on EPEL 6 ppc64.
|
||||
Requires: python-pivy
|
||||
%endif
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: python-matplotlib
|
||||
Requires: python-collada
|
||||
Requires: python-pyside
|
||||
|
||||
# plugins and private shared libs in %%{_libdir}/freecad/lib are private;
|
||||
# prevent private capabilities being advertised in Provides/Requires
|
||||
%define plugin_regexp /^\\\(libFreeCAD.*%(for i in %{plugins}; do echo -n "\\\|$i\\\|$iGui"; done)\\\)\\\(\\\|Gui\\\)\\.so/d
|
||||
%{?filter_setup:
|
||||
%filter_provides_in %{_libdir}/%{name}/lib
|
||||
%filter_from_requires %{plugin_regexp}
|
||||
%filter_from_provides %{plugin_regexp}
|
||||
%filter_provides_in %{_libdir}/%{name}/Mod
|
||||
%filter_requires_in %{_libdir}/%{name}/Mod
|
||||
%filter_setup
|
||||
}
|
||||
|
||||
|
||||
%description
|
||||
FreeCAD is a general purpose Open Source 3D CAD/MCAD/CAx/CAE/PLM modeler, aimed
|
||||
directly at mechanical engineering and product design but also fits a wider
|
||||
range of uses in engineering, such as architecture or other engineering
|
||||
specialties. It is a feature-based parametric modeler with a modular software
|
||||
architecture which makes it easy to provide additional functionality without
|
||||
modifying the core system.
|
||||
|
||||
|
||||
%package data
|
||||
Summary: Data files for FreeCAD
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description data
|
||||
Data files for FreeCAD
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n FreeCAD-%{branch}
|
||||
|
||||
# Fix encodings
|
||||
dos2unix -k src/Mod/Test/unittestgui.py \
|
||||
ChangeLog.txt \
|
||||
data/License.txt
|
||||
|
||||
# Removed bundled libraries
|
||||
|
||||
%build
|
||||
rm -rf build && mkdir build && cd build
|
||||
|
||||
# Deal with cmake projects that tend to link excessively.
|
||||
#LDFLAGS='-Wl,--as-needed'; export LDFLAGS
|
||||
|
||||
%if 0%{?fedora} > 27
|
||||
%define MEDFILE_INCLUDE_DIRS %{_includedir}/med/
|
||||
%else
|
||||
%define MEDFILE_INCLUDE_DIRS %{_includedir}/
|
||||
%endif
|
||||
|
||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_libdir}/%{name} \
|
||||
-DCMAKE_INSTALL_DATADIR=%{_datadir}/%{name} \
|
||||
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
|
||||
-DRESOURCEDIR=%{_datadir}/%{name} \
|
||||
-DFREECAD_USE_EXTERNAL_PIVY=TRUE \
|
||||
-DMEDFILE_INCLUDE_DIRS=%{MEDFILE_INCLUDE_DIRS} \
|
||||
../
|
||||
|
||||
sed -i 's,FCRevision \"Unknown\",FCRevision \"%{release} (Git)\",' src/Build/Version.h
|
||||
sed -i 's,FCRepositoryURL \"Unknown\",FCRepositoryURL \"git://github.com/FreeCAD/FreeCAD.git master\",' src/Build/Version.h
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
|
||||
# Symlink binaries to /usr/bin
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
pushd %{buildroot}%{_bindir}
|
||||
ln -s ../%{_lib}/%{name}/bin/FreeCAD .
|
||||
ln -s ../%{_lib}/%{name}/bin/FreeCADCmd .
|
||||
popd
|
||||
|
||||
mkdir %{buildroot}%{_datadir}/appdata/
|
||||
mv %{buildroot}%{_libdir}/%{name}/share/metainfo/* %{buildroot}%{_datadir}/appdata/
|
||||
|
||||
mkdir %{buildroot}%{_datadir}/applications/
|
||||
mv %{buildroot}%{_libdir}/%{name}/share/applications/* %{buildroot}%{_datadir}/applications/
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||
mv %{buildroot}%{_libdir}/%{name}/share/icons/hicolor/scalable/apps/* %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/mime/packages/
|
||||
mv %{buildroot}%{_libdir}/%{name}/share/mime/packages/* %{buildroot}%{_datadir}/mime/packages/
|
||||
|
||||
pushd %{buildroot}%{_libdir}/%{name}/share/
|
||||
rmdir metainfo/
|
||||
rmdir applications/
|
||||
rmdir -p mime/packages/
|
||||
rmdir -p icons/hicolor/scalable/apps/
|
||||
popd
|
||||
|
||||
# Bug maintainers to keep %%{plugins} macro up to date.
|
||||
#
|
||||
# Make sure there are no plugins that need to be added to plugins macro
|
||||
new_plugins=`ls %{buildroot}%{_libdir}/%{name}/lib | sed -e '%{plugin_regexp}'`
|
||||
if [ -n "$new_plugins" ]; then
|
||||
echo -e "\n\n\n**** ERROR:\n" \
|
||||
"\nPlugins not caught by regexp: " $new_plugins \
|
||||
"\n\nPlugins in %{_libdir}/%{name}/lib do not exist in" \
|
||||
"\nspecfile %%{plugins} macro. Please add these to" \
|
||||
"\n%%{plugins} macro at top of specfile and rebuild.\n****\n" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
# Make sure there are no entries in the plugins macro that don't match plugins
|
||||
for p in %{plugins}; do
|
||||
if [ -z "`ls %{buildroot}%{_libdir}/%{name}/lib/$p*.so`" ]; then
|
||||
set +x
|
||||
echo -e "\n\n\n**** ERROR:\n" \
|
||||
"\nExtra entry in %%{plugins} macro with no matching plugin:" \
|
||||
"'$p'.\n\nPlease remove from %%{plugins} macro at top of" \
|
||||
"\nspecfile and rebuild.\n****\n" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%check
|
||||
%{?fedora:appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/appdata/*.appdata.xml}
|
||||
|
||||
|
||||
%post
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
/usr/bin/update-desktop-database &> /dev/null || :
|
||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
/usr/bin/update-desktop-database &> /dev/null || :
|
||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%posttrans
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor/scalable/apps &>/dev/null || :
|
||||
|
||||
|
||||
%files
|
||||
%license data/License.txt
|
||||
%doc ChangeLog.txt
|
||||
%exclude %{_docdir}/%{name}/%{name}.*
|
||||
%exclude %{_docdir}/%{name}/ThirdPartyLibraries.html
|
||||
%{_bindir}/*
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/bin/
|
||||
%{_libdir}/%{name}/lib/
|
||||
%{_libdir}/%{name}/Mod/
|
||||
%{_libdir}/%{name}/Ext/
|
||||
%{_datadir}/applications/*
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*
|
||||
%{_datadir}/appdata/*
|
||||
%{_datadir}/mime/packages/*
|
||||
|
||||
%files data
|
||||
%{_datadir}/%{name}/
|
||||
%{_docdir}/%{name}/%{name}.q*
|
||||
@@ -0,0 +1,2 @@
|
||||
[rpkg]
|
||||
auto_pack = False
|
||||
@@ -0,0 +1,4 @@
|
||||
function git_commits_no {
|
||||
commits=$(curl -s 'https://api.github.com/repos/FreeCAD/FreeCAD/compare/120ca87015...master' | grep "ahead_by" | sed -s 's/ //g' | sed -s 's/"ahead_by"://' | sed -s 's/,//')
|
||||
echo $((commits + 1))
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
#!/bin/sh
|
||||
# (c) 2009 Werner Mayer GPL
|
||||
|
||||
# This script creates a new source tarball and extracts it in the build
|
||||
# directory. The source directory and tarball are renamed to Debian-
|
||||
# conform names.
|
||||
# Then the debian directory is created from a diff file and prepared for
|
||||
# the new build. For this the following steps are executed:
|
||||
#
|
||||
# 1. cd freecad-X.Y.xyz
|
||||
# 2. patch -p1 < .../debian/diff/freecad_hardy.diff
|
||||
# 3. dch -v X.Y.xyz-1hardy1 "New release for Ubuntu 8.04 (Hardy Heron)"
|
||||
# 4. debuild
|
||||
#
|
||||
# Example how to work with sed can be found here:
|
||||
# http://www.grymoire.com/Unix/Sed.html
|
||||
|
||||
# global settings
|
||||
TMP_PATH=/tmp
|
||||
MAJ=0
|
||||
MIN=13
|
||||
|
||||
# go to root directory
|
||||
CUR_DIR=$PWD
|
||||
verz=`dirname $(readlink -f ${0})`
|
||||
cd $verz && cd ..
|
||||
|
||||
# http://blog.marcingil.com/2011/11/creating-build-numbers-using-git-commits/
|
||||
if git log -1 >/dev/null 2>&1; then
|
||||
REV=`git rev-list HEAD | wc -l | sed -e 's/ *//g' | xargs -n1 printf %04d`
|
||||
else
|
||||
REV=0
|
||||
fi
|
||||
|
||||
SRC_DIR=$PWD
|
||||
|
||||
# Prepare source tarball and unpack it in build directory
|
||||
cd $CUR_DIR
|
||||
make dist-git
|
||||
cd $verz && cd ..
|
||||
rm -rf $TMP_PATH/freecad-$REV
|
||||
mkdir $TMP_PATH/freecad-$REV
|
||||
mv freecad-$MAJ.$MIN.$REV.tar.gz $TMP_PATH/freecad-$REV/freecad_$MAJ.$MIN.$REV.orig.tar.gz
|
||||
cd $TMP_PATH/freecad-$REV
|
||||
tar -xzf freecad_$MAJ.$MIN.$REV.orig.tar.gz
|
||||
cd freecad-$MAJ.$MIN.$REV
|
||||
#rm -rf src/CXX
|
||||
#rm -rf src/zipios++
|
||||
|
||||
# Prepare debian folder and set the revision number in debian/changelog
|
||||
# for package versioning
|
||||
LSB_RELS=`lsb_release -r | cut -f2`
|
||||
LSB_DESC=`lsb_release -d | cut -f2`
|
||||
LSB_CODE=`lsb_release -c | cut -f2`
|
||||
patch -p1 < $SRC_DIR/package/debian/diff/freecad_$LSB_CODE.diff
|
||||
DEBEMAIL="wmayer@users.sourceforge.net"
|
||||
export DEBEMAIL
|
||||
dch -v $MAJ.$MIN.$REV-1"$LSB_CODE"1 "New release for $LSB_DESC ($LSB_CODE)"
|
||||
debuild
|
||||
cd ..
|
||||
gunzip freecad_$MAJ.$MIN.$REV-1"$LSB_CODE"1.diff.gz
|
||||
mv freecad_$MAJ.$MIN.$REV-1"$LSB_CODE"1.diff $SRC_DIR/package/debian/freecad_$LSB_CODE.diff
|
||||
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
matplotlib==2.2.3; python_version < '3.0'
|
||||
matplotlib==3.0.2; python_version >= '3.0'
|
||||
PySide==1.2.4
|
||||
# PySide2==5.12.0
|
||||
Shiboken==1.2.2
|
||||
six==1.12.0
|
||||
@@ -6,6 +6,11 @@ import unittest
|
||||
|
||||
from kdtree import KDTree_2Int, KDTree_4Int, KDTree_3Float, KDTree_4Float, KDTree_6Float
|
||||
|
||||
try:
|
||||
long
|
||||
except NameError:
|
||||
long = int
|
||||
|
||||
|
||||
class KDTree_2IntTestCase(unittest.TestCase):
|
||||
def test_empty(self):
|
||||
|
||||
+9
-5
@@ -1,10 +1,10 @@
|
||||
# SGEOM cmake build file
|
||||
#PROJECT(SMESH Fortran CXX)
|
||||
|
||||
SET(SMESH_VERSION_MAJOR 5)
|
||||
SET(SMESH_VERSION_MINOR 1)
|
||||
SET(SMESH_VERSION_PATCH 2)
|
||||
SET(SMESH_VERSION_TWEAK 2)
|
||||
SET(SMESH_VERSION_MAJOR 7) # see main CMakeLists.txt of FreeCAD
|
||||
SET(SMESH_VERSION_MINOR 7)
|
||||
SET(SMESH_VERSION_PATCH 1)
|
||||
SET(SMESH_VERSION_TWEAK 0)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment -Wno-unused-parameter")
|
||||
@@ -382,10 +382,14 @@ TARGET_LINK_LIBRARIES(NETGENPlugin SMDS SMESHDS SMESH StdMeshers ${SMESH_LIBS} )
|
||||
|
||||
SET_BIN_DIR(NETGENPlugin NETGENPlugin)
|
||||
if(WIN32)
|
||||
set_target_properties(NETGENPlugin PROPERTIES COMPILE_FLAGS "-DNETGENPLUGIN_EXPORTS -DNO_PARALLEL_THREADS -DOCCGEOMETRY -DNETGEN_VERSION=${NETGEN_VERSION}")
|
||||
set_target_properties(NETGENPlugin PROPERTIES COMPILE_FLAGS "-DNETGENPLUGIN_EXPORTS -DNO_PARALLEL_THREADS -DOCCGEOMETRY -DNETGEN_VERSION=${NETGEN_VERSION_C}")
|
||||
else()
|
||||
set_target_properties(NETGENPlugin PROPERTIES COMPILE_FLAGS "${NETGEN_CXX_FLAGS}")
|
||||
endif(WIN32)
|
||||
IF(NOT NETGEN_VERSION_C LESS NETGEN_VERSION_62) # Version >= 6.2
|
||||
set_target_properties(NETGENPlugin PROPERTIES CXX_STANDARD_REQUIRED ON)
|
||||
set_target_properties(NETGENPlugin PROPERTIES CXX_STANDARD 14) # Standard std=c++1y could work aswell
|
||||
ENDIF()
|
||||
|
||||
endif (BUILD_FEM_NETGEN)
|
||||
|
||||
|
||||
+4
-6
@@ -27,12 +27,10 @@
|
||||
#ifndef _SMDSAbs_ElementType_HeaderFile
|
||||
#define _SMDSAbs_ElementType_HeaderFile
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// Type (node, edge, face or volume) of elements
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
enum SMDSAbs_ElementType : size_t
|
||||
enum SMDSAbs_ElementType
|
||||
{
|
||||
SMDSAbs_All,
|
||||
SMDSAbs_Node,
|
||||
@@ -45,7 +43,7 @@ enum SMDSAbs_ElementType : size_t
|
||||
};
|
||||
|
||||
/*! enumeration for element geometry type */
|
||||
enum SMDSAbs_GeometryType : size_t
|
||||
enum SMDSAbs_GeometryType
|
||||
{
|
||||
// 0D element
|
||||
SMDSGeom_POINT,
|
||||
@@ -69,7 +67,7 @@ enum SMDSAbs_GeometryType : size_t
|
||||
};
|
||||
|
||||
|
||||
enum SMDSAbs_ElementOrder : size_t
|
||||
enum SMDSAbs_ElementOrder
|
||||
{
|
||||
ORDER_ANY, /*! entities of any order */
|
||||
ORDER_LINEAR, /*! entities of 1st order */
|
||||
@@ -79,7 +77,7 @@ enum SMDSAbs_ElementOrder : size_t
|
||||
/*!
|
||||
* Enumeration of entity type used in mesh info array
|
||||
*/
|
||||
enum SMDSAbs_EntityType : size_t
|
||||
enum SMDSAbs_EntityType
|
||||
{
|
||||
SMDSEntity_Node,
|
||||
SMDSEntity_0D,
|
||||
|
||||
+1
-1
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "SMESH_SMESH.hxx"
|
||||
|
||||
#include "SMDS_MeshNode.hxx"
|
||||
#include "SMDSAbs_ElementType.hxx"
|
||||
#include "SMESH_Comment.hxx"
|
||||
#include "SMESH_ComputeError.hxx"
|
||||
@@ -45,7 +46,6 @@
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
class SMDS_MeshNode;
|
||||
class SMESHDS_Mesh;
|
||||
class SMESHDS_SubMesh;
|
||||
class SMESH_Gen;
|
||||
|
||||
+2
-8
@@ -60,8 +60,8 @@ typedef std::set<int> TSetOfInt;
|
||||
class SMESH_EXPORT SMESH_Gen
|
||||
{
|
||||
public:
|
||||
|
||||
static SMESH_Gen* get();
|
||||
SMESH_Gen();
|
||||
~SMESH_Gen();
|
||||
|
||||
SMESH_Mesh* CreateMesh(int theStudyId, bool theIsEmbeddedMode);
|
||||
|
||||
@@ -158,12 +158,6 @@ public:
|
||||
// std::map < int, SMESH_2D_Algo * >_map2D_Algo;
|
||||
// std::map < int, SMESH_3D_Algo * >_map3D_Algo;
|
||||
|
||||
protected:
|
||||
//Generator is designed to be a singleton, hence constructor and destructor are not allowed to be used
|
||||
SMESH_Gen();
|
||||
~SMESH_Gen();
|
||||
static SMESH_Gen* generator;
|
||||
|
||||
private:
|
||||
|
||||
int _localId; // unique Id of created objects, within SMESH_Gen entity
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "SMESH_StdMeshers.hxx"
|
||||
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#include "SMDS_MeshNode.hxx"
|
||||
|
||||
#include <TopTools_DataMapOfShapeShape.hxx>
|
||||
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
|
||||
|
||||
@@ -291,7 +291,7 @@ namespace
|
||||
try {
|
||||
axes = gp_Ax2( p0, normal, v01 );
|
||||
}
|
||||
catch ( Standard_Failure ) {
|
||||
catch ( Standard_Failure &) {
|
||||
return false;
|
||||
}
|
||||
for ( size_t i = 0; i < nbNodes; ++i )
|
||||
|
||||
+3
-3
@@ -79,8 +79,8 @@ bool SMESH_File::open()
|
||||
if ( !_map && length > 0 )
|
||||
{
|
||||
#ifdef WIN32
|
||||
_file = CreateFile(_name.data(), GENERIC_READ, FILE_SHARE_READ,
|
||||
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
_file = CreateFileA(_name.data(), GENERIC_READ, FILE_SHARE_READ,
|
||||
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
bool ok = ( _file != INVALID_HANDLE_VALUE );
|
||||
#else
|
||||
_file = ::open(_name.data(), O_RDONLY );
|
||||
@@ -292,7 +292,7 @@ bool SMESH_File::openForWriting()
|
||||
{
|
||||
#ifdef WIN32
|
||||
|
||||
_file = CreateFile( _name.c_str(), // name of the write
|
||||
_file = CreateFileA(_name.c_str(), // name of the write
|
||||
GENERIC_WRITE, // open for writing
|
||||
0, // do not share
|
||||
NULL, // default security
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace nglib {
|
||||
|
||||
#include <occgeom.hpp>
|
||||
#include <meshing.hpp>
|
||||
//#include <meshtype.hpp>
|
||||
//#include <meshing/meshtype.hpp>
|
||||
namespace netgen {
|
||||
#if NETGEN_VERSION >= NETGEN_VERSION_STRING(6,2)
|
||||
DLL_HEADER extern int OCCGenerateMesh (OCCGeometry&, shared_ptr<Mesh>&, MeshingParameters&);
|
||||
|
||||
@@ -263,6 +263,7 @@ int SMDS_MeshNode::NbNodes() const
|
||||
|
||||
double* SMDS_MeshNode::getCoord() const
|
||||
{
|
||||
#if 0
|
||||
double coord[3];
|
||||
double *coord2;
|
||||
vtkUnstructuredGrid *grid;
|
||||
@@ -288,6 +289,9 @@ double* SMDS_MeshNode::getCoord() const
|
||||
return coord2;
|
||||
}
|
||||
return 0;
|
||||
#else
|
||||
return SMDS_Mesh::_meshList[myMeshId]->getGrid()->GetPoint(myVtkID);
|
||||
#endif
|
||||
}
|
||||
|
||||
double SMDS_MeshNode::X() const
|
||||
|
||||
@@ -68,8 +68,10 @@ SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
|
||||
|
||||
_vtkIdList = vtkIdList::New();
|
||||
vtkIdType* pts;
|
||||
vtkIdType npts;
|
||||
vtkUnstructuredGrid* grid = _mesh->getGrid();
|
||||
grid->GetCellPoints((vtkIdType)_cellId, (vtkIdType&)_nbNodes, pts);
|
||||
grid->GetCellPoints((vtkIdType)_cellId, npts, pts);
|
||||
_nbNodes = static_cast<int>(npts);
|
||||
_vtkIdList->SetNumberOfIds(_nbNodes);
|
||||
const int *ids = 0;
|
||||
switch (_type)
|
||||
|
||||
+1
-1
@@ -522,7 +522,7 @@ GeomAbs_Shape SMESH_Algo::Continuity(TopoDS_Edge E1,
|
||||
OCC_CATCH_SIGNALS;
|
||||
return BRepLProp::Continuity(C1, C2, u1, u2, tol, angTol);
|
||||
}
|
||||
catch (Standard_Failure) {
|
||||
catch (Standard_Failure&) {
|
||||
}
|
||||
return GeomAbs_C0;
|
||||
}
|
||||
|
||||
+1
-11
@@ -55,7 +55,6 @@ using namespace std;
|
||||
|
||||
//#include <vtkDebugLeaks.h>
|
||||
|
||||
SMESH_Gen* SMESH_Gen::generator = nullptr;
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
@@ -75,15 +74,6 @@ SMESH_Gen::SMESH_Gen()
|
||||
//vtkDebugLeaks::SetExitError(0);
|
||||
}
|
||||
|
||||
SMESH_Gen* SMESH_Gen::get() {
|
||||
|
||||
if(!generator)
|
||||
generator = new SMESH_Gen();
|
||||
|
||||
return generator;
|
||||
}
|
||||
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Destructor
|
||||
@@ -1037,7 +1027,7 @@ std::vector< std::string > SMESH_Gen::GetPluginXMLPaths()
|
||||
xmlPath += sep + plugin + ".xml";
|
||||
bool fileOK;
|
||||
#ifdef WIN32
|
||||
fileOK = (GetFileAttributes(xmlPath.c_str()) != INVALID_FILE_ATTRIBUTES);
|
||||
fileOK = (GetFileAttributesA(xmlPath.c_str()) != INVALID_FILE_ATTRIBUTES);
|
||||
#else
|
||||
fileOK = (access(xmlPath.c_str(), F_OK) == 0);
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -1371,7 +1371,7 @@ double SMESH_MeshAlgos::GetDistance( const SMDS_MeshFace* face,
|
||||
try {
|
||||
tgtCS = gp_Ax3( xyz[0], OZ, OX );
|
||||
}
|
||||
catch ( Standard_Failure ) {
|
||||
catch ( Standard_Failure &) {
|
||||
return badDistance;
|
||||
}
|
||||
trsf.SetTransformation( tgtCS );
|
||||
|
||||
+1
-1
@@ -11178,7 +11178,7 @@ double SMESH_MeshEditor::OrientedAngle(const gp_Pnt& p0, const gp_Pnt& p1, const
|
||||
try {
|
||||
return n2.AngleWithRef(n1, vref);
|
||||
}
|
||||
catch ( Standard_Failure ) {
|
||||
catch ( Standard_Failure &) {
|
||||
}
|
||||
return Max( v1.Magnitude(), v2.Magnitude() );
|
||||
}
|
||||
|
||||
@@ -4445,7 +4445,7 @@ namespace { // Structures used by FixQuadraticElements()
|
||||
if ( curvNorm * D2 > 0 )
|
||||
continue; // convex edge
|
||||
}
|
||||
catch ( Standard_Failure )
|
||||
catch ( Standard_Failure &)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -4558,7 +4558,7 @@ namespace { // Structures used by FixQuadraticElements()
|
||||
if ( concaveU || concaveV )
|
||||
concaveFaces.push_back( face );
|
||||
}
|
||||
catch ( Standard_Failure )
|
||||
catch ( Standard_Failure &)
|
||||
{
|
||||
concaveFaces.push_back( face );
|
||||
}
|
||||
@@ -5081,7 +5081,7 @@ void SMESH_MesherHelper::FixQuadraticElements(SMESH_ComputeErrorPtr& compError,
|
||||
try {
|
||||
gp_Vec x = x01.Normalized() + x12.Normalized();
|
||||
trsf.SetTransformation( gp_Ax3( gp::Origin(), link1->Normal(), x), gp_Ax3() );
|
||||
} catch ( Standard_Failure ) {
|
||||
} catch ( Standard_Failure &) {
|
||||
trsf.Invert();
|
||||
}
|
||||
move.Transform(trsf);
|
||||
|
||||
+1
-1
@@ -1377,7 +1377,7 @@ const TopoDS_Shape& SMESHDS_Mesh::IndexToShape(int ShapeIndex) const
|
||||
if ( ShapeIndex > 0 )
|
||||
return myIndexToShape.FindKey(ShapeIndex);
|
||||
}
|
||||
catch ( Standard_OutOfRange )
|
||||
catch ( Standard_OutOfRange &)
|
||||
{
|
||||
}
|
||||
static TopoDS_Shape nullShape;
|
||||
|
||||
@@ -1466,7 +1466,7 @@ bool _QuadFaceGrid::GetNormal( const TopoDS_Vertex& v, gp_Vec& n ) const
|
||||
n = d1u.Crossed( d1v );
|
||||
return true;
|
||||
}
|
||||
catch (Standard_Failure) {
|
||||
catch (Standard_Failure&) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ bool Function::value( const double, double& f ) const
|
||||
OCC_CATCH_SIGNALS;
|
||||
#endif
|
||||
f = pow( 10., f );
|
||||
} catch(Standard_Failure) {
|
||||
} catch(Standard_Failure&) {
|
||||
f = 0.0;
|
||||
ok = false;
|
||||
}
|
||||
@@ -196,7 +196,7 @@ FunctionExpr::FunctionExpr( const char* str, const int conv )
|
||||
#endif
|
||||
myExpr = ExprIntrp_GenExp::Create();
|
||||
myExpr->Process( ( Standard_CString )str );
|
||||
} catch(Standard_Failure) {
|
||||
} catch(Standard_Failure&) {
|
||||
ok = false;
|
||||
}
|
||||
|
||||
@@ -230,7 +230,7 @@ bool FunctionExpr::value( const double t, double& f ) const
|
||||
OCC_CATCH_SIGNALS;
|
||||
#endif
|
||||
f = myExpr->Expression()->Evaluate( myVars, myValues );
|
||||
} catch(Standard_Failure) {
|
||||
} catch(Standard_Failure&) {
|
||||
f = 0.0;
|
||||
ok = false;
|
||||
}
|
||||
@@ -250,7 +250,7 @@ double FunctionExpr::integral( const double a, const double b ) const
|
||||
( *static_cast<math_Function*>( const_cast<FunctionExpr*> (this) ), a, b, 20 );
|
||||
if( _int.IsDone() )
|
||||
res = _int.Value();
|
||||
} catch(Standard_Failure) {
|
||||
} catch(Standard_Failure&) {
|
||||
res = 0.0;
|
||||
MESSAGE( "Exception in integral calculating" );
|
||||
}
|
||||
|
||||
@@ -232,7 +232,7 @@ void StdMeshers_NumberOfSegments::SetTableFunction(const vector<double>& table)
|
||||
OCC_CATCH_SIGNALS;
|
||||
#endif
|
||||
val = pow( 10.0, val );
|
||||
} catch(Standard_Failure) {
|
||||
} catch(Standard_Failure&) {
|
||||
throw SALOME_Exception( LOCALIZED( "invalid value"));
|
||||
return;
|
||||
}
|
||||
@@ -327,7 +327,7 @@ bool process( const TCollection_AsciiString& str, int convMode,
|
||||
#endif
|
||||
myExpr = ExprIntrp_GenExp::Create();
|
||||
myExpr->Process( str.ToCString() );
|
||||
} catch(Standard_Failure) {
|
||||
} catch(Standard_Failure&) {
|
||||
parsed_ok = false;
|
||||
}
|
||||
|
||||
|
||||
+197
-60
@@ -77,6 +77,7 @@
|
||||
#include <Base/RotationPy.h>
|
||||
#include <Base/Sequencer.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Translate.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
#include <Base/QuantityPy.h>
|
||||
#include <Base/UnitPy.h>
|
||||
@@ -120,7 +121,6 @@
|
||||
|
||||
#include <boost/tokenizer.hpp>
|
||||
#include <boost/token_functions.hpp>
|
||||
#include <boost/signals.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/version.hpp>
|
||||
#include <QDir>
|
||||
@@ -138,6 +138,10 @@ using namespace boost::program_options;
|
||||
#include <App/CMakeScript.h>
|
||||
|
||||
#ifdef _MSC_VER // New handler for Microsoft Visual C++ compiler
|
||||
# if !defined(_DEBUG) && defined(HAVE_SEH)
|
||||
# define FC_SE_TRANSLATOR
|
||||
# endif
|
||||
|
||||
# include <new.h>
|
||||
# include <eh.h> // VC exception handling
|
||||
#else // Ansi C/C++ new handler
|
||||
@@ -206,12 +210,43 @@ PyDoc_STRVAR(FreeCAD_doc,
|
||||
PyDoc_STRVAR(Console_doc,
|
||||
"FreeCAD Console\n"
|
||||
);
|
||||
|
||||
|
||||
PyDoc_STRVAR(Base_doc,
|
||||
"The Base module contains the classes for the geometric basics\n"
|
||||
"like vector, matrix, bounding box, placement, rotation, axis, ...\n"
|
||||
);
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
// This is called via the PyImport_AppendInittab mechanism called
|
||||
// during initialization, to make the built-in __FreeCADBase__
|
||||
// module known to Python.
|
||||
PyMODINIT_FUNC
|
||||
init_freecad_base_module(void)
|
||||
{
|
||||
static struct PyModuleDef BaseModuleDef = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"__FreeCADBase__", Base_doc, -1,
|
||||
NULL, NULL, NULL, NULL, NULL
|
||||
};
|
||||
return PyModule_Create(&BaseModuleDef);
|
||||
}
|
||||
|
||||
// Set in inside Application
|
||||
static PyMethodDef* __AppMethods = nullptr;
|
||||
|
||||
PyMODINIT_FUNC
|
||||
init_freecad_module(void)
|
||||
{
|
||||
static struct PyModuleDef FreeCADModuleDef = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"FreeCAD", FreeCAD_doc, -1,
|
||||
__AppMethods,
|
||||
NULL, NULL, NULL, NULL
|
||||
};
|
||||
return PyModule_Create(&FreeCADModuleDef);
|
||||
}
|
||||
#endif
|
||||
|
||||
Application::Application(std::map<std::string,std::string> &mConfig)
|
||||
: _mConfig(mConfig), _pActiveDoc(0)
|
||||
{
|
||||
@@ -223,14 +258,15 @@ Application::Application(std::map<std::string,std::string> &mConfig)
|
||||
// setting up Python binding
|
||||
Base::PyGILStateLocker lock;
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
static struct PyModuleDef FreeCADModuleDef = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"FreeCAD", FreeCAD_doc, -1,
|
||||
Application::Methods,
|
||||
NULL, NULL, NULL, NULL
|
||||
};
|
||||
PyObject* pAppModule = PyModule_Create(&FreeCADModuleDef);
|
||||
_PyImport_FixupBuiltin(pAppModule, "FreeCAD");
|
||||
PyObject* modules = PyImport_GetModuleDict();
|
||||
|
||||
__AppMethods = Application::Methods;
|
||||
PyObject* pAppModule = PyImport_ImportModule ("FreeCAD");
|
||||
if (!pAppModule) {
|
||||
PyErr_Clear();
|
||||
pAppModule = init_freecad_module();
|
||||
PyDict_SetItemString(modules, "FreeCAD", pAppModule);
|
||||
}
|
||||
#else
|
||||
PyObject* pAppModule = Py_InitModule3("FreeCAD", Application::Methods, FreeCAD_doc);
|
||||
#endif
|
||||
@@ -265,13 +301,12 @@ Application::Application(std::map<std::string,std::string> &mConfig)
|
||||
// remove these types from the FreeCAD module.
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
static struct PyModuleDef BaseModuleDef = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"__FreeCADBase__", Base_doc, -1,
|
||||
NULL, NULL, NULL, NULL, NULL
|
||||
};
|
||||
PyObject* pBaseModule = PyModule_Create(&BaseModuleDef);
|
||||
_PyImport_FixupBuiltin(pBaseModule, "__FreeCADBase__");
|
||||
PyObject* pBaseModule = PyImport_ImportModule ("__FreeCADBase__");
|
||||
if (!pBaseModule) {
|
||||
PyErr_Clear();
|
||||
pBaseModule = init_freecad_base_module();
|
||||
PyDict_SetItemString(modules, "__FreeCADBase__", pBaseModule);
|
||||
}
|
||||
#else
|
||||
PyObject* pBaseModule = Py_InitModule3("__FreeCADBase__", NULL, Base_doc);
|
||||
#endif
|
||||
@@ -296,6 +331,11 @@ Application::Application(std::map<std::string,std::string> &mConfig)
|
||||
Py_INCREF(pConsoleModule);
|
||||
PyModule_AddObject(pAppModule, "Console", pConsoleModule);
|
||||
|
||||
// Translate module
|
||||
PyObject* pTranslateModule = (new Base::Translate)->module().ptr();
|
||||
Py_INCREF(pTranslateModule);
|
||||
PyModule_AddObject(pAppModule, "Qt", pTranslateModule);
|
||||
|
||||
//insert Units module
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
static struct PyModuleDef UnitsModuleDef = {
|
||||
@@ -385,13 +425,23 @@ Document* Application::newDocument(const char * Name, const char * UserName)
|
||||
|
||||
|
||||
// connect the signals to the application for the new document
|
||||
_pActiveDoc->signalBeforeChange.connect(boost::bind(&App::Application::slotBeforeChangeDocument, this, _1, _2));
|
||||
_pActiveDoc->signalChanged.connect(boost::bind(&App::Application::slotChangedDocument, this, _1, _2));
|
||||
_pActiveDoc->signalNewObject.connect(boost::bind(&App::Application::slotNewObject, this, _1));
|
||||
_pActiveDoc->signalDeletedObject.connect(boost::bind(&App::Application::slotDeletedObject, this, _1));
|
||||
_pActiveDoc->signalBeforeChangeObject.connect(boost::bind(&App::Application::slotBeforeChangeObject, this, _1, _2));
|
||||
_pActiveDoc->signalChangedObject.connect(boost::bind(&App::Application::slotChangedObject, this, _1, _2));
|
||||
_pActiveDoc->signalRelabelObject.connect(boost::bind(&App::Application::slotRelabelObject, this, _1));
|
||||
_pActiveDoc->signalActivatedObject.connect(boost::bind(&App::Application::slotActivatedObject, this, _1));
|
||||
_pActiveDoc->signalUndo.connect(boost::bind(&App::Application::slotUndoDocument, this, _1));
|
||||
_pActiveDoc->signalRedo.connect(boost::bind(&App::Application::slotRedoDocument, this, _1));
|
||||
_pActiveDoc->signalRecomputedObject.connect(boost::bind(&App::Application::slotRecomputedObject, this, _1));
|
||||
_pActiveDoc->signalRecomputed.connect(boost::bind(&App::Application::slotRecomputed, this, _1));
|
||||
_pActiveDoc->signalOpenTransaction.connect(boost::bind(&App::Application::slotOpenTransaction, this, _1, _2));
|
||||
_pActiveDoc->signalCommitTransaction.connect(boost::bind(&App::Application::slotCommitTransaction, this, _1));
|
||||
_pActiveDoc->signalAbortTransaction.connect(boost::bind(&App::Application::slotAbortTransaction, this, _1));
|
||||
_pActiveDoc->signalStartSave.connect(boost::bind(&App::Application::slotStartSaveDocument, this, _1, _2));
|
||||
_pActiveDoc->signalFinishSave.connect(boost::bind(&App::Application::slotFinishSaveDocument, this, _1, _2));
|
||||
|
||||
// make sure that the active document is set in case no GUI is up
|
||||
{
|
||||
@@ -941,6 +991,16 @@ std::map<std::string, std::string> Application::getExportFilters(void) const
|
||||
|
||||
//**************************************************************************
|
||||
// signaling
|
||||
void Application::slotBeforeChangeDocument(const App::Document& doc, const Property& prop)
|
||||
{
|
||||
this->signalBeforeChangeDocument(doc, prop);
|
||||
}
|
||||
|
||||
void Application::slotChangedDocument(const App::Document& doc, const Property& prop)
|
||||
{
|
||||
this->signalChangedDocument(doc, prop);
|
||||
}
|
||||
|
||||
void Application::slotNewObject(const App::DocumentObject&O)
|
||||
{
|
||||
this->signalNewObject(O);
|
||||
@@ -951,6 +1011,11 @@ void Application::slotDeletedObject(const App::DocumentObject&O)
|
||||
this->signalDeletedObject(O);
|
||||
}
|
||||
|
||||
void Application::slotBeforeChangeObject(const DocumentObject& O, const Property& Prop)
|
||||
{
|
||||
this->signalBeforeChangeObject(O, Prop);
|
||||
}
|
||||
|
||||
void Application::slotChangedObject(const App::DocumentObject&O, const App::Property& P)
|
||||
{
|
||||
this->signalChangedObject(O,P);
|
||||
@@ -976,6 +1041,41 @@ void Application::slotRedoDocument(const App::Document& d)
|
||||
this->signalRedoDocument(d);
|
||||
}
|
||||
|
||||
void Application::slotRecomputedObject(const DocumentObject& obj)
|
||||
{
|
||||
this->signalObjectRecomputed(obj);
|
||||
}
|
||||
|
||||
void Application::slotRecomputed(const Document& doc)
|
||||
{
|
||||
this->signalRecomputed(doc);
|
||||
}
|
||||
|
||||
void Application::slotOpenTransaction(const Document& d, string s)
|
||||
{
|
||||
this->signalOpenTransaction(d, s);
|
||||
}
|
||||
|
||||
void Application::slotCommitTransaction(const Document& d)
|
||||
{
|
||||
this->signalCommitTransaction(d);
|
||||
}
|
||||
|
||||
void Application::slotAbortTransaction(const Document& d)
|
||||
{
|
||||
this->signalAbortTransaction(d);
|
||||
}
|
||||
|
||||
void Application::slotStartSaveDocument(const App::Document& doc, const std::string& filename)
|
||||
{
|
||||
this->signalStartSaveDocument(doc, filename);
|
||||
}
|
||||
|
||||
void Application::slotFinishSaveDocument(const App::Document& doc, const std::string& filename)
|
||||
{
|
||||
this->signalFinishSaveDocument(doc, filename);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// Init, Destruct and singleton
|
||||
|
||||
@@ -1015,7 +1115,7 @@ void Application::destruct(void)
|
||||
_pcSysParamMngr = 0;
|
||||
_pcUserParamMngr = 0;
|
||||
|
||||
// not initialized or doubel destruct!
|
||||
// not initialized or double destruct!
|
||||
assert(_pcSingleton);
|
||||
delete _pcSingleton;
|
||||
|
||||
@@ -1111,11 +1211,11 @@ void printBacktrace(size_t skip=0)
|
||||
void segmentation_fault_handler(int sig)
|
||||
{
|
||||
#if defined(FC_OS_LINUX)
|
||||
(void)sig;
|
||||
std::cerr << "Program received signal SIGSEGV, Segmentation fault.\n";
|
||||
printBacktrace(2);
|
||||
exit(1);
|
||||
#endif
|
||||
|
||||
#else
|
||||
switch (sig) {
|
||||
case SIGSEGV:
|
||||
std::cerr << "Illegal storage access..." << std::endl;
|
||||
@@ -1133,9 +1233,10 @@ void segmentation_fault_handler(int sig)
|
||||
std::cerr << "Unknown error occurred..." << std::endl;
|
||||
break;
|
||||
}
|
||||
#endif // FC_OS_LINUX
|
||||
}
|
||||
|
||||
void my_terminate_handler()
|
||||
void unhandled_exception_handler()
|
||||
{
|
||||
std::cerr << "Terminating..." << std::endl;
|
||||
}
|
||||
@@ -1151,23 +1252,28 @@ void unexpection_error_handler()
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER // Microsoft compiler
|
||||
|
||||
void my_trans_func( unsigned int code, EXCEPTION_POINTERS* pExp )
|
||||
#if defined(FC_SE_TRANSLATOR) // Microsoft compiler
|
||||
void my_se_translator_filter(unsigned int code, EXCEPTION_POINTERS* pExp)
|
||||
{
|
||||
Q_UNUSED(pExp)
|
||||
switch (code)
|
||||
{
|
||||
case EXCEPTION_ACCESS_VIOLATION:
|
||||
throw Base::AccessViolation();
|
||||
break;
|
||||
case EXCEPTION_FLT_DIVIDE_BY_ZERO:
|
||||
case EXCEPTION_INT_DIVIDE_BY_ZERO:
|
||||
throw Base::DivisionByZeroError("Division by zero!");
|
||||
break;
|
||||
}
|
||||
|
||||
//switch (code)
|
||||
//{
|
||||
// case FLT_DIVIDE_BY_ZERO :
|
||||
// //throw CMyFunkyDivideByZeroException(code, pExp);
|
||||
// throw Base::DivisionByZeroError("Devision by zero!");
|
||||
// break;
|
||||
//}
|
||||
|
||||
// general C++ SEH exception for things we don't need to handle separately....
|
||||
throw Base::RuntimeError("my_trans_func()");
|
||||
std::stringstream str;
|
||||
str << "SEH exception of type: " << code;
|
||||
// general C++ SEH exception for things we don't need to handle separately....
|
||||
throw Base::RuntimeError(str.str());
|
||||
}
|
||||
#endif
|
||||
|
||||
void Application::init(int argc, char ** argv)
|
||||
{
|
||||
try {
|
||||
@@ -1183,13 +1289,14 @@ void Application::init(int argc, char ** argv)
|
||||
#if defined (_MSC_VER) // Microsoft compiler
|
||||
std::signal(SIGSEGV,segmentation_fault_handler);
|
||||
std::signal(SIGABRT,segmentation_fault_handler);
|
||||
std::set_terminate(my_terminate_handler);
|
||||
std::set_terminate(unhandled_exception_handler);
|
||||
std::set_unexpected(unexpection_error_handler);
|
||||
// _set_se_translator(my_trans_func);
|
||||
#elif defined(FC_OS_LINUX)
|
||||
std::signal(SIGSEGV,segmentation_fault_handler);
|
||||
#endif
|
||||
|
||||
#if defined(FC_SE_TRANSLATOR)
|
||||
_set_se_translator(my_se_translator_filter);
|
||||
#endif
|
||||
initTypes();
|
||||
|
||||
#if (BOOST_VERSION < 104600) || (BOOST_FILESYSTEM_VERSION == 2)
|
||||
@@ -1342,11 +1449,11 @@ void Application::initTypes(void)
|
||||
new ExceptionProducer<Base::AbortException>;
|
||||
new ExceptionProducer<Base::XMLBaseException>;
|
||||
new ExceptionProducer<Base::XMLParseException>;
|
||||
new ExceptionProducer<Base::XMLAttributeError>;
|
||||
new ExceptionProducer<Base::FileException>;
|
||||
new ExceptionProducer<Base::FileSystemError>;
|
||||
new ExceptionProducer<Base::BadFormatError>;
|
||||
new ExceptionProducer<Base::MemoryException>;
|
||||
new ExceptionProducer<Base::MemoryException>;
|
||||
new ExceptionProducer<Base::AccessViolation>;
|
||||
new ExceptionProducer<Base::AbnormalProgramTermination>;
|
||||
new ExceptionProducer<Base::UnknownProgramOption>;
|
||||
@@ -1356,6 +1463,7 @@ void Application::initTypes(void)
|
||||
new ExceptionProducer<Base::IndexError>;
|
||||
new ExceptionProducer<Base::AttributeError>;
|
||||
new ExceptionProducer<Base::RuntimeError>;
|
||||
new ExceptionProducer<Base::BadGraphError>;
|
||||
new ExceptionProducer<Base::NotImplementedError>;
|
||||
new ExceptionProducer<Base::DivisionByZeroError>;
|
||||
new ExceptionProducer<Base::ReferencesError>;
|
||||
@@ -1366,6 +1474,7 @@ void Application::initTypes(void)
|
||||
new ExceptionProducer<Base::UnderflowError>;
|
||||
new ExceptionProducer<Base::UnitsMismatchError>;
|
||||
new ExceptionProducer<Base::CADKernelError>;
|
||||
new ExceptionProducer<Base::RestoreError>;
|
||||
}
|
||||
|
||||
void Application::initConfig(int argc, char ** argv)
|
||||
@@ -1416,6 +1525,10 @@ void Application::initConfig(int argc, char ** argv)
|
||||
# endif
|
||||
|
||||
// init python
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
PyImport_AppendInittab ("FreeCAD", init_freecad_module);
|
||||
PyImport_AppendInittab ("__FreeCADBase__", init_freecad_base_module);
|
||||
#endif
|
||||
mConfig["PythonSearchPath"] = Interpreter().init(argc,argv);
|
||||
|
||||
// Parse the options that have impact on the init process
|
||||
@@ -1426,7 +1539,7 @@ void Application::initConfig(int argc, char ** argv)
|
||||
_pConsoleObserverStd = new ConsoleObserverStd();
|
||||
Console().AttachObserver(_pConsoleObserverStd);
|
||||
if (mConfig["Verbose"] == "Strict")
|
||||
Console().SetMode(ConsoleSingleton::Verbose);
|
||||
Console().UnsetConsoleMode(ConsoleSingleton::Verbose);
|
||||
|
||||
// file logging Init ===========================================================
|
||||
if (mConfig["LoggingFile"] == "1") {
|
||||
@@ -1456,29 +1569,33 @@ void Application::initConfig(int argc, char ** argv)
|
||||
auto loglevelParam = _pcUserParamMngr->GetGroup("BaseApp/LogLevels");
|
||||
const auto &loglevels = loglevelParam->GetIntMap();
|
||||
bool hasDefault = false;
|
||||
for(const auto &v : loglevels) {
|
||||
if(v.first == "Default") {
|
||||
for (const auto &v : loglevels) {
|
||||
if (v.first == "Default") {
|
||||
#ifndef FC_DEBUG
|
||||
if(v.second>=0) {
|
||||
if (v.second>=0) {
|
||||
hasDefault = true;
|
||||
Base::Console().SetDefaultLogLevel(v.second);
|
||||
}
|
||||
#endif
|
||||
}else if(v.first == "DebugDefault") {
|
||||
}
|
||||
else if (v.first == "DebugDefault") {
|
||||
#ifdef FC_DEBUG
|
||||
if(v.second>=0) {
|
||||
if (v.second>=0) {
|
||||
hasDefault = true;
|
||||
Base::Console().SetDefaultLogLevel(v.second);
|
||||
}
|
||||
#endif
|
||||
}else
|
||||
}
|
||||
else {
|
||||
*Base::Console().GetLogLevel(v.first.c_str()) = v.second;
|
||||
}
|
||||
}
|
||||
if(!hasDefault) {
|
||||
|
||||
if (!hasDefault) {
|
||||
#ifdef FC_DEBUG
|
||||
loglevelParam->SetInt("DebugDefault",Base::Console().LogLevel(-1));
|
||||
loglevelParam->SetInt("DebugDefault", Base::Console().LogLevel(-1));
|
||||
#else
|
||||
loglevelParam->SetInt("Default",Base::Console().LogLevel(-1));
|
||||
loglevelParam->SetInt("Default", Base::Console().LogLevel(-1));
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1539,6 +1656,12 @@ void Application::initApplication(void)
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
|
||||
("User parameter:BaseApp/Preferences/Units");
|
||||
UnitsApi::setSchema((UnitSystem)hGrp->GetInt("UserSchema",0));
|
||||
UnitsApi::setDecimals(hGrp->GetInt("Decimals", Base::UnitsApi::getDecimals()));
|
||||
|
||||
// In case we are using fractional inches, get user setting for min unit
|
||||
int denom = hGrp->GetInt("FracInch", Base::QuantityFormat::getDefaultDenominator());
|
||||
Base::QuantityFormat::setDefaultDenominator(denom);
|
||||
|
||||
|
||||
#if defined (_DEBUG)
|
||||
Console().Log("Application is built with debug information\n");
|
||||
@@ -1552,7 +1675,7 @@ void Application::initApplication(void)
|
||||
ObjectLabelObserver::instance();
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
Base::Console().Error("%s\n", e.what());
|
||||
e.ReportException();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1619,7 +1742,7 @@ std::list<std::string> Application::processFiles(const std::list<std::string>& f
|
||||
processed.push_back(*it);
|
||||
Base::Console().Log("Command line open: %s.open(u\"%s\")\n",mods.front().c_str(),escapedstr.c_str());
|
||||
}
|
||||
else {
|
||||
else if (file.exists()) {
|
||||
Console().Warning("File format not supported: %s \n", file.filePath().c_str());
|
||||
}
|
||||
}
|
||||
@@ -1642,12 +1765,21 @@ void Application::processCmdLineFiles(void)
|
||||
{
|
||||
// process files passed to command line
|
||||
std::list<std::string> files = getCmdLineFiles();
|
||||
processFiles(files);
|
||||
std::list<std::string> processed = processFiles(files);
|
||||
|
||||
if (files.empty()) {
|
||||
if (mConfig["RunMode"] == "Exit")
|
||||
mConfig["RunMode"] = "Cmd";
|
||||
}
|
||||
else if (processed.empty() && files.size() == 1 && mConfig["RunMode"] == "Cmd") {
|
||||
// In case we are in console mode and the argument is not a file but Python code
|
||||
// then execute it. This is to behave like the standard Python executable.
|
||||
Base::FileInfo file(files.front());
|
||||
if (!file.exists()) {
|
||||
Interpreter().runString(files.front().c_str());
|
||||
mConfig["RunMode"] = "Exit";
|
||||
}
|
||||
}
|
||||
|
||||
const std::map<std::string,std::string>& cfg = Application::Config();
|
||||
std::map<std::string,std::string>::const_iterator it = cfg.find("SaveFile");
|
||||
@@ -2261,7 +2393,7 @@ void Application::ExtractUserPath()
|
||||
|
||||
#elif defined(FC_OS_WIN32)
|
||||
WCHAR szPath[MAX_PATH];
|
||||
TCHAR dest[MAX_PATH*3];
|
||||
char dest[MAX_PATH*3];
|
||||
// Get the default path where we can save our documents. It seems that
|
||||
// 'CSIDL_MYDOCUMENTS' doesn't work on all machines, so we use 'CSIDL_PERSONAL'
|
||||
// which does the same.
|
||||
@@ -2365,8 +2497,8 @@ std::string Application::FindHomePath(const char* sCall)
|
||||
absPath = path;
|
||||
}
|
||||
else {
|
||||
// Find the path of the executable. Theoretically, there could occur a
|
||||
// race condition when using readlink, but we only use this method to
|
||||
// Find the path of the executable. Theoretically, there could occur a
|
||||
// race condition when using readlink, but we only use this method to
|
||||
// get the absolute path of the executable to compute the actual home
|
||||
// path. In the worst case we simply get q wrong path and FreeCAD is not
|
||||
// able to load its modules.
|
||||
@@ -2385,7 +2517,7 @@ std::string Application::FindHomePath(const char* sCall)
|
||||
#endif
|
||||
if (nchars < 0 || nchars >= PATH_MAX)
|
||||
throw Base::FileSystemError("Cannot determine the absolute path of the executable");
|
||||
resolved[nchars] = '\0'; // enfore null termination
|
||||
resolved[nchars] = '\0'; // enforce null termination
|
||||
absPath = resolved;
|
||||
}
|
||||
|
||||
@@ -2440,12 +2572,17 @@ std::string Application::FindHomePath(const char* call)
|
||||
#elif defined (FC_OS_WIN32)
|
||||
std::string Application::FindHomePath(const char* sCall)
|
||||
{
|
||||
// We have three ways to start this application either use one of the two executables or
|
||||
// import the FreeCAD.pyd module from a running Python session. In the latter case the
|
||||
// Python interpreter is already initialized.
|
||||
// We have several ways to start this application:
|
||||
// * use one of the two executables
|
||||
// * import the FreeCAD.pyd module from a running Python session. In this case the
|
||||
// Python interpreter is already initialized.
|
||||
// * use a custom dll that links FreeCAD core dlls and that is loaded by its host application
|
||||
// In this case the calling name should be set to FreeCADBase.dll or FreeCADApp.dll in order
|
||||
// to locate the correct home directory
|
||||
wchar_t szFileName [MAX_PATH];
|
||||
if (Py_IsInitialized()) {
|
||||
GetModuleFileNameW(GetModuleHandle(sCall),szFileName, MAX_PATH-1);
|
||||
QString dll(QString::fromUtf8(sCall));
|
||||
if (Py_IsInitialized() || dll.endsWith(QLatin1String(".dll"))) {
|
||||
GetModuleFileNameW(GetModuleHandleA(sCall),szFileName, MAX_PATH-1);
|
||||
}
|
||||
else {
|
||||
GetModuleFileNameW(0, szFileName, MAX_PATH-1);
|
||||
|
||||
+93
-68
@@ -1,5 +1,5 @@
|
||||
/***************************************************************************
|
||||
* (c) Jürgen Riegel (juergen.riegel@web.de) 2002 *
|
||||
* (c) Jürgen Riegel (juergen.riegel@web.de) 2002 *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
@@ -10,7 +10,7 @@
|
||||
* for detail see the LICENCE text file. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
@@ -25,7 +25,7 @@
|
||||
#ifndef APP_APPLICATION_H
|
||||
#define APP_APPLICATION_H
|
||||
|
||||
#include <boost/signal.hpp>
|
||||
#include <boost/signals2.hpp>
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
#include <Base/Observer.h>
|
||||
|
||||
|
||||
namespace Base
|
||||
namespace Base
|
||||
{
|
||||
class ConsoleObserverStd;
|
||||
class ConsoleObserverStd;
|
||||
class ConsoleObserverFile;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
* spaces and not starting with a number. This name gets also forced to be unique
|
||||
* in this Application. You can avoid the renaming by using getUniqueDocumentName()
|
||||
* to get a unique name before calling newDoucument().
|
||||
* The second name is a UTF8 name of any kind. It's that name normally shown to
|
||||
* The second name is a UTF8 name of any kind. It's that name normally shown to
|
||||
* the user and stored in the App::Document::Name property.
|
||||
*/
|
||||
App::Document* newDocument(const char * Name=0l, const char * UserName=0l);
|
||||
@@ -99,46 +99,66 @@ public:
|
||||
/** @name Signals of the Application */
|
||||
//@{
|
||||
/// signal on new Document
|
||||
boost::signal<void (const Document&)> signalNewDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalNewDocument;
|
||||
/// signal on document getting deleted
|
||||
boost::signal<void (const Document&)> signalDeleteDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalDeleteDocument;
|
||||
/// signal on already deleted Document
|
||||
boost::signal<void ()> signalDeletedDocument;
|
||||
boost::signals2::signal<void ()> signalDeletedDocument;
|
||||
/// signal on relabeling Document (user name)
|
||||
boost::signal<void (const Document&)> signalRelabelDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalRelabelDocument;
|
||||
/// signal on renaming Document (internal name)
|
||||
boost::signal<void (const Document&)> signalRenameDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalRenameDocument;
|
||||
/// signal on activating Document
|
||||
boost::signal<void (const Document&)> signalActiveDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalActiveDocument;
|
||||
/// signal on saving Document
|
||||
boost::signal<void (const Document&)> signalSaveDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalSaveDocument;
|
||||
/// signal on starting to restore Document
|
||||
boost::signal<void (const Document&)> signalStartRestoreDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalStartRestoreDocument;
|
||||
/// signal on restoring Document
|
||||
boost::signal<void (const Document&)> signalFinishRestoreDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalFinishRestoreDocument;
|
||||
/// signal on starting to save Document
|
||||
boost::signals2::signal<void (const Document&, const std::string&)> signalStartSaveDocument;
|
||||
/// signal on saved Document
|
||||
boost::signals2::signal<void (const Document&, const std::string&)> signalFinishSaveDocument;
|
||||
/// signal on undo in document
|
||||
boost::signal<void (const Document&)> signalUndoDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalUndoDocument;
|
||||
/// signal on redo in document
|
||||
boost::signal<void (const Document&)> signalRedoDocument;
|
||||
boost::signals2::signal<void (const Document&)> signalRedoDocument;
|
||||
//@}
|
||||
|
||||
|
||||
/** @name Signals of the document
|
||||
* This signals are an aggregation of all document. If you only
|
||||
* This signals are an aggregation of all document. If you only
|
||||
* the signal of a special document connect to the document itself
|
||||
*/
|
||||
//@{
|
||||
/// signal before change of doc property
|
||||
boost::signals2::signal<void (const App::Document&, const App::Property&)> signalBeforeChangeDocument;
|
||||
/// signal on changed doc property
|
||||
boost::signals2::signal<void (const App::Document&, const App::Property&)> signalChangedDocument;
|
||||
/// signal on new Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalNewObject;
|
||||
//boost::signal<void (const App::DocumentObject&)> m_sig;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalNewObject;
|
||||
//boost::signals2::signal<void (const App::DocumentObject&)> m_sig;
|
||||
/// signal on deleted Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalDeletedObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalDeletedObject;
|
||||
/// signal on changed Object
|
||||
boost::signal<void (const App::DocumentObject&, const App::Property&)> signalChangedObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&, const App::Property&)> signalBeforeChangeObject;
|
||||
/// signal on changed Object
|
||||
boost::signals2::signal<void (const App::DocumentObject&, const App::Property&)> signalChangedObject;
|
||||
/// signal on relabeled Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalRelabelObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalRelabelObject;
|
||||
/// signal on activated Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalActivatedObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalActivatedObject;
|
||||
/// signal on recomputed document
|
||||
boost::signals2::signal<void (const App::Document&)> signalRecomputed;
|
||||
/// signal on recomputed document object
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalObjectRecomputed;
|
||||
// signal on opened transaction
|
||||
boost::signals2::signal<void (const App::Document&, std::string)> signalOpenTransaction;
|
||||
// signal a committed transaction
|
||||
boost::signals2::signal<void (const App::Document&)> signalCommitTransaction;
|
||||
// signal an aborted transaction
|
||||
boost::signals2::signal<void (const App::Document&)> signalAbortTransaction;
|
||||
//@}
|
||||
|
||||
/** @name Signals of property changes
|
||||
@@ -147,11 +167,11 @@ public:
|
||||
*/
|
||||
//@{
|
||||
/// signal on adding a dynamic property
|
||||
boost::signal<void (const App::Property&)> signalAppendDynamicProperty;
|
||||
boost::signals2::signal<void (const App::Property&)> signalAppendDynamicProperty;
|
||||
/// signal on about removing a dynamic property
|
||||
boost::signal<void (const App::Property&)> signalRemoveDynamicProperty;
|
||||
boost::signals2::signal<void (const App::Property&)> signalRemoveDynamicProperty;
|
||||
/// signal on about changing the editor mode of a property
|
||||
boost::signal<void (const App::Property&)> signalChangePropertyEditor;
|
||||
boost::signals2::signal<void (const App::Property&)> signalChangePropertyEditor;
|
||||
//@}
|
||||
|
||||
|
||||
@@ -178,12 +198,12 @@ public:
|
||||
void RemoveParameterSet(const char* sName);
|
||||
//@}
|
||||
|
||||
/** @name methods for the open handler
|
||||
* With this facility a Application module can register
|
||||
* a ending (filetype) which he can handle to open.
|
||||
/** @name methods for the open handler
|
||||
* With this facility a Application module can register
|
||||
* a ending (filetype) which he can handle to open.
|
||||
* The ending and the module name are stored and if the file
|
||||
* type is opened the module get loaded and need to register a
|
||||
* OpenHandler class in the OpenHandlerFactorySingleton.
|
||||
* OpenHandler class in the OpenHandlerFactorySingleton.
|
||||
* After the module is loaded a OpenHandler of this type is created
|
||||
* and the file get loaded.
|
||||
* @see OpenHandler
|
||||
@@ -260,17 +280,27 @@ protected:
|
||||
/// get called by the document when the name is changing
|
||||
void renameDocument(const char *OldName, const char *NewName);
|
||||
|
||||
/** @name I/O of the document
|
||||
/** @name I/O of the document
|
||||
* This slot get connected to all App::Documents created
|
||||
*/
|
||||
//@{
|
||||
void slotBeforeChangeDocument(const App::Document&, const App::Property&);
|
||||
void slotChangedDocument(const App::Document&, const App::Property&);
|
||||
void slotNewObject(const App::DocumentObject&);
|
||||
void slotDeletedObject(const App::DocumentObject&);
|
||||
void slotBeforeChangeObject(const App::DocumentObject&, const App::Property& Prop);
|
||||
void slotChangedObject(const App::DocumentObject&, const App::Property& Prop);
|
||||
void slotRelabelObject(const App::DocumentObject&);
|
||||
void slotActivatedObject(const App::DocumentObject&);
|
||||
void slotUndoDocument(const App::Document&);
|
||||
void slotRedoDocument(const App::Document&);
|
||||
void slotRecomputedObject(const App::DocumentObject&);
|
||||
void slotRecomputed(const App::Document&);
|
||||
void slotOpenTransaction(const App::Document&, std::string);
|
||||
void slotCommitTransaction(const App::Document&);
|
||||
void slotAbortTransaction(const App::Document&);
|
||||
void slotStartSaveDocument(const App::Document&, const std::string&);
|
||||
void slotFinishSaveDocument(const App::Document&, const std::string&);
|
||||
//@}
|
||||
|
||||
private:
|
||||
@@ -291,43 +321,39 @@ private:
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
// static python wrapper of the exported functions
|
||||
static PyObject* sGetParam (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sSaveParameter (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetVersion (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetConfig (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sSetConfig (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sDumpConfig (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sTemplateAdd (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sTemplateDelete (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sTemplateGet (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sAddImportType (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetImportType (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sAddExportType (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetExportType (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetResourceDir (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetUserAppDataDir (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetUserMacroDir (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetHelpDir (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetHomePath (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetParam (PyObject *self,PyObject *args);
|
||||
static PyObject* sSaveParameter (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetVersion (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetConfig (PyObject *self,PyObject *args);
|
||||
static PyObject* sSetConfig (PyObject *self,PyObject *args);
|
||||
static PyObject* sDumpConfig (PyObject *self,PyObject *args);
|
||||
static PyObject* sAddImportType (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetImportType (PyObject *self,PyObject *args);
|
||||
static PyObject* sAddExportType (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetExportType (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetResourceDir (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetUserAppDataDir (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetUserMacroDir (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetHelpDir (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetHomePath (PyObject *self,PyObject *args);
|
||||
|
||||
static PyObject* sLoadFile (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sOpenDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sSaveDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sSaveDocumentAs (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sNewDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sCloseDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sActiveDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sSetActiveDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sGetDocument (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sListDocuments (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sAddDocObserver (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sRemoveDocObserver (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sTranslateUnit (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject* sLoadFile (PyObject *self,PyObject *args);
|
||||
static PyObject* sOpenDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sSaveDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sSaveDocumentAs (PyObject *self,PyObject *args);
|
||||
static PyObject* sNewDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sCloseDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sActiveDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sSetActiveDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sGetDocument (PyObject *self,PyObject *args);
|
||||
static PyObject* sListDocuments (PyObject *self,PyObject *args);
|
||||
static PyObject* sAddDocObserver (PyObject *self,PyObject *args);
|
||||
static PyObject* sRemoveDocObserver (PyObject *self,PyObject *args);
|
||||
|
||||
static PyObject *sSetLogLevel (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject *sGetLogLevel (PyObject *self,PyObject *args,PyObject *kwd);
|
||||
static PyObject *sSetLogLevel (PyObject *self,PyObject *args);
|
||||
static PyObject *sGetLogLevel (PyObject *self,PyObject *args);
|
||||
|
||||
static PyMethodDef Methods[];
|
||||
static PyMethodDef Methods[];
|
||||
|
||||
friend class ApplicationObserver;
|
||||
|
||||
@@ -379,7 +405,7 @@ private:
|
||||
static Base::ConsoleObserverFile *_pConsoleObserverFile;
|
||||
};
|
||||
|
||||
/// Singleton getter of the Applicaton
|
||||
/// Singleton getter of the Application
|
||||
inline App::Application &GetApplication(void){
|
||||
return *App::Application::_pcSingleton;
|
||||
}
|
||||
@@ -388,4 +414,3 @@ inline App::Application &GetApplication(void){
|
||||
|
||||
|
||||
#endif // APP_APPLICATION_H
|
||||
|
||||
|
||||
+77
-66
@@ -56,97 +56,100 @@ using namespace App;
|
||||
|
||||
// Application Methods // Methods structure
|
||||
PyMethodDef Application::Methods[] = {
|
||||
{"ParamGet", (PyCFunction) Application::sGetParam, 1,
|
||||
{"ParamGet", (PyCFunction) Application::sGetParam, METH_VARARGS,
|
||||
"Get parameters by path"},
|
||||
{"saveParameter", (PyCFunction) Application::sSaveParameter, 1,
|
||||
{"saveParameter", (PyCFunction) Application::sSaveParameter, METH_VARARGS,
|
||||
"saveParameter(config='User parameter') -> None\n"
|
||||
"Save parameter set to file. The default set is 'User parameter'"},
|
||||
{"Version", (PyCFunction) Application::sGetVersion, 1,
|
||||
{"Version", (PyCFunction) Application::sGetVersion, METH_VARARGS,
|
||||
"Print the version to the output."},
|
||||
{"ConfigGet", (PyCFunction) Application::sGetConfig, 1,
|
||||
{"ConfigGet", (PyCFunction) Application::sGetConfig, METH_VARARGS,
|
||||
"ConfigGet(string) -- Get the value for the given key."},
|
||||
{"ConfigSet", (PyCFunction) Application::sSetConfig, 1,
|
||||
{"ConfigSet", (PyCFunction) Application::sSetConfig, METH_VARARGS,
|
||||
"ConfigSet(string, string) -- Set the given key to the given value."},
|
||||
{"ConfigDump", (PyCFunction) Application::sDumpConfig, 1,
|
||||
{"ConfigDump", (PyCFunction) Application::sDumpConfig, METH_VARARGS,
|
||||
"Dump the configuration to the output."},
|
||||
{"addImportType", (PyCFunction) Application::sAddImportType, 1,
|
||||
{"addImportType", (PyCFunction) Application::sAddImportType, METH_VARARGS,
|
||||
"Register filetype for import"},
|
||||
{"getImportType", (PyCFunction) Application::sGetImportType, 1,
|
||||
{"getImportType", (PyCFunction) Application::sGetImportType, METH_VARARGS,
|
||||
"Get the name of the module that can import the filetype"},
|
||||
{"EndingAdd", (PyCFunction) Application::sAddImportType ,1, // deprecated
|
||||
{"EndingAdd", (PyCFunction) Application::sAddImportType, METH_VARARGS, // deprecated
|
||||
"deprecated -- use addImportType"},
|
||||
{"EndingGet", (PyCFunction) Application::sGetImportType ,1, // deprecated
|
||||
{"EndingGet", (PyCFunction) Application::sGetImportType, METH_VARARGS, // deprecated
|
||||
"deprecated -- use getImportType"},
|
||||
{"addExportType", (PyCFunction) Application::sAddExportType ,1,
|
||||
{"addExportType", (PyCFunction) Application::sAddExportType, METH_VARARGS,
|
||||
"Register filetype for export"},
|
||||
{"getExportType", (PyCFunction) Application::sGetExportType ,1,
|
||||
{"getExportType", (PyCFunction) Application::sGetExportType, METH_VARARGS,
|
||||
"Get the name of the module that can export the filetype"},
|
||||
{"getResourceDir", (PyCFunction) Application::sGetResourceDir ,1,
|
||||
{"getResourceDir", (PyCFunction) Application::sGetResourceDir, METH_VARARGS,
|
||||
"Get the root directory of all resources"},
|
||||
{"getUserAppDataDir", (PyCFunction) Application::sGetUserAppDataDir ,1,
|
||||
{"getUserAppDataDir", (PyCFunction) Application::sGetUserAppDataDir, METH_VARARGS,
|
||||
"Get the root directory of user settings"},
|
||||
{"getUserMacroDir", (PyCFunction) Application::sGetUserMacroDir ,1,
|
||||
"Get the directory of the user's macro directory"},
|
||||
{"getHelpDir", (PyCFunction) Application::sGetHelpDir ,1,
|
||||
{"getUserMacroDir", (PyCFunction) Application::sGetUserMacroDir, METH_VARARGS,
|
||||
"getUserMacroDir(bool=False) -> string"
|
||||
"Get the directory of the user's macro directory\n"
|
||||
"If parameter is False (the default) it returns the standard path in the"
|
||||
"user's home directory, otherwise it returns the user-defined path."},
|
||||
{"getHelpDir", (PyCFunction) Application::sGetHelpDir, METH_VARARGS,
|
||||
"Get the directory of the documentation"},
|
||||
{"getHomePath", (PyCFunction) Application::sGetHomePath ,1,
|
||||
{"getHomePath", (PyCFunction) Application::sGetHomePath, METH_VARARGS,
|
||||
"Get the home path, i.e. the parent directory of the executable"},
|
||||
|
||||
{"loadFile", (PyCFunction) Application::sLoadFile, 1,
|
||||
{"loadFile", (PyCFunction) Application::sLoadFile, METH_VARARGS,
|
||||
"loadFile(string=filename,[string=module]) -> None\n\n"
|
||||
"Loads an arbitrary file by delegating to the given Python module:\n"
|
||||
"* If no module is given it will be determined by the file extension.\n"
|
||||
"* If more than one module can load a file the first one one will be taken.\n"
|
||||
"* If no module exists to load the file an exception will be raised."},
|
||||
{"open", (PyCFunction) Application::sOpenDocument, 1,
|
||||
{"open", (PyCFunction) Application::sOpenDocument, METH_VARARGS,
|
||||
"See openDocument(string)"},
|
||||
{"openDocument", (PyCFunction) Application::sOpenDocument, 1,
|
||||
{"openDocument", (PyCFunction) Application::sOpenDocument, METH_VARARGS,
|
||||
"openDocument(string) -> object\n\n"
|
||||
"Create a document and load the project file into the document.\n"
|
||||
"The string argument must point to an existing file. If the file doesn't exist\n"
|
||||
"or the file cannot be loaded an I/O exception is thrown. In this case the\n"
|
||||
"document is kept alive."},
|
||||
// {"saveDocument", (PyCFunction) Application::sSaveDocument, 1,
|
||||
// {"saveDocument", (PyCFunction) Application::sSaveDocument, METH_VARARGS,
|
||||
// "saveDocument(string) -- Save the document to a file."},
|
||||
// {"saveDocumentAs", (PyCFunction) Application::sSaveDocumentAs, 1},
|
||||
{"newDocument", (PyCFunction) Application::sNewDocument, 1,
|
||||
// {"saveDocumentAs", (PyCFunction) Application::sSaveDocumentAs, METH_VARARGS},
|
||||
{"newDocument", (PyCFunction) Application::sNewDocument, METH_VARARGS,
|
||||
"newDocument([string]) -> object\n\n"
|
||||
"Create a new document with a given name.\n"
|
||||
"The document name must be unique which\n"
|
||||
"is checked automatically."},
|
||||
{"closeDocument", (PyCFunction) Application::sCloseDocument, 1,
|
||||
{"closeDocument", (PyCFunction) Application::sCloseDocument, METH_VARARGS,
|
||||
"closeDocument(string) -> None\n\n"
|
||||
"Close the document with a given name."},
|
||||
{"activeDocument", (PyCFunction) Application::sActiveDocument, 1,
|
||||
{"activeDocument", (PyCFunction) Application::sActiveDocument, METH_VARARGS,
|
||||
"activeDocument() -> object or None\n\n"
|
||||
"Return the active document or None if there is no one."},
|
||||
{"setActiveDocument",(PyCFunction) Application::sSetActiveDocument, 1,
|
||||
{"setActiveDocument",(PyCFunction) Application::sSetActiveDocument, METH_VARARGS,
|
||||
"setActiveDocement(string) -> None\n\n"
|
||||
"Set the active document by its name."},
|
||||
{"getDocument", (PyCFunction) Application::sGetDocument, 1,
|
||||
{"getDocument", (PyCFunction) Application::sGetDocument, METH_VARARGS,
|
||||
"getDocument(string) -> object\n\n"
|
||||
"Get a document by its name or raise an exception\n"
|
||||
"if there is no document with the given name."},
|
||||
{"listDocuments", (PyCFunction) Application::sListDocuments ,1,
|
||||
{"listDocuments", (PyCFunction) Application::sListDocuments, METH_VARARGS,
|
||||
"listDocuments() -> list\n\n"
|
||||
"Return a list of names of all documents."},
|
||||
{"addDocumentObserver", (PyCFunction) Application::sAddDocObserver ,1,
|
||||
{"addDocumentObserver", (PyCFunction) Application::sAddDocObserver, METH_VARARGS,
|
||||
"addDocumentObserver() -> None\n\n"
|
||||
"Add an observer to get notified about changes on documents."},
|
||||
{"removeDocumentObserver", (PyCFunction) Application::sRemoveDocObserver ,1,
|
||||
{"removeDocumentObserver", (PyCFunction) Application::sRemoveDocObserver, METH_VARARGS,
|
||||
"removeDocumentObserver() -> None\n\n"
|
||||
"Remove an added document observer."},
|
||||
{"setLogLevel", (PyCFunction) Application::sSetLogLevel, 1,
|
||||
{"setLogLevel", (PyCFunction) Application::sSetLogLevel, METH_VARARGS,
|
||||
"setLogLevel(tag, level) -- Set the log level for a string tag.\n"
|
||||
"'level' can either be string 'Log', 'Msg', 'Wrn', 'Error', or an integer value"},
|
||||
{"getLogLevel", (PyCFunction) Application::sGetLogLevel, 1,
|
||||
{"getLogLevel", (PyCFunction) Application::sGetLogLevel, METH_VARARGS,
|
||||
"getLogLevel(tag) -- Get the log level of a string tag"},
|
||||
|
||||
{NULL, NULL, 0, NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
|
||||
PyObject* Application::sLoadFile(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sLoadFile(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *path, *doc="",*mod="";
|
||||
if (!PyArg_ParseTuple(args, "s|ss", &path, &doc, &mod)) // convert args: Python->C
|
||||
@@ -191,7 +194,7 @@ PyObject* Application::sLoadFile(PyObject * /*self*/, PyObject *args,PyObject *
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* Application::sOpenDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sOpenDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char* Name;
|
||||
if (!PyArg_ParseTuple(args, "et","utf-8",&Name))
|
||||
@@ -213,7 +216,7 @@ PyObject* Application::sOpenDocument(PyObject * /*self*/, PyObject *args,PyObjec
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* Application::sNewDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sNewDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *docName = 0;
|
||||
char *usrName = 0;
|
||||
@@ -228,7 +231,7 @@ PyObject* Application::sNewDocument(PyObject * /*self*/, PyObject *args,PyObject
|
||||
}PY_CATCH;
|
||||
}
|
||||
|
||||
PyObject* Application::sSetActiveDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sSetActiveDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr = 0;
|
||||
if (!PyArg_ParseTuple(args, "s", &pstr)) // convert args: Python->C
|
||||
@@ -245,7 +248,7 @@ PyObject* Application::sSetActiveDocument(PyObject * /*self*/, PyObject *args,Py
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* Application::sCloseDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sCloseDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr = 0;
|
||||
if (!PyArg_ParseTuple(args, "s", &pstr)) // convert args: Python->C
|
||||
@@ -269,7 +272,7 @@ PyObject* Application::sCloseDocument(PyObject * /*self*/, PyObject *args,PyObje
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* Application::sSaveDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sSaveDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pDoc;
|
||||
if (!PyArg_ParseTuple(args, "s", &pDoc)) // convert args: Python->C
|
||||
@@ -290,7 +293,7 @@ PyObject* Application::sSaveDocument(PyObject * /*self*/, PyObject *args,PyObjec
|
||||
Py_Return;
|
||||
}
|
||||
#if 0
|
||||
PyObject* Application::sSaveDocumentAs(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sSaveDocumentAs(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pDoc, *pFileName;
|
||||
if (!PyArg_ParseTuple(args, "ss", &pDoc, &pFileName)) // convert args: Python->C
|
||||
@@ -308,7 +311,7 @@ PyObject* Application::sSaveDocumentAs(PyObject * /*self*/, PyObject *args,PyObj
|
||||
Py_Return;
|
||||
}
|
||||
#endif
|
||||
PyObject* Application::sActiveDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sActiveDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -323,7 +326,7 @@ PyObject* Application::sActiveDocument(PyObject * /*self*/, PyObject *args,PyObj
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* Application::sGetDocument(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetDocument(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr=0;
|
||||
if (!PyArg_ParseTuple(args, "s", &pstr)) // convert args: Python->C
|
||||
@@ -338,7 +341,7 @@ PyObject* Application::sGetDocument(PyObject * /*self*/, PyObject *args,PyObject
|
||||
return doc->getPyObject();
|
||||
}
|
||||
|
||||
PyObject* Application::sGetParam(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetParam(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr=0;
|
||||
if (!PyArg_ParseTuple(args, "s", &pstr)) // convert args: Python->C
|
||||
@@ -349,7 +352,7 @@ PyObject* Application::sGetParam(PyObject * /*self*/, PyObject *args,PyObject *
|
||||
}PY_CATCH;
|
||||
}
|
||||
|
||||
PyObject* Application::sSaveParameter(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sSaveParameter(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr = "User parameter";
|
||||
if (!PyArg_ParseTuple(args, "|s", &pstr))
|
||||
@@ -377,7 +380,7 @@ PyObject* Application::sSaveParameter(PyObject * /*self*/, PyObject *args,PyObje
|
||||
}
|
||||
|
||||
|
||||
PyObject* Application::sGetConfig(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetConfig(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr;
|
||||
|
||||
@@ -399,7 +402,7 @@ PyObject* Application::sGetConfig(PyObject * /*self*/, PyObject *args,PyObject *
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* Application::sDumpConfig(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sDumpConfig(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "") ) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -416,7 +419,7 @@ PyObject* Application::sDumpConfig(PyObject * /*self*/, PyObject *args,PyObject
|
||||
return dict;
|
||||
}
|
||||
|
||||
PyObject* Application::sSetConfig(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sSetConfig(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *pstr,*pstr2;
|
||||
|
||||
@@ -429,7 +432,7 @@ PyObject* Application::sSetConfig(PyObject * /*self*/, PyObject *args,PyObject *
|
||||
return Py_None;
|
||||
}
|
||||
|
||||
PyObject* Application::sGetVersion(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetVersion(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -464,7 +467,7 @@ PyObject* Application::sGetVersion(PyObject * /*self*/, PyObject *args,PyObject
|
||||
return Py::new_reference_to(list);
|
||||
}
|
||||
|
||||
PyObject* Application::sAddImportType(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sAddImportType(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *psKey,*psMod;
|
||||
|
||||
@@ -476,7 +479,7 @@ PyObject* Application::sAddImportType(PyObject * /*self*/, PyObject *args,PyObje
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* Application::sGetImportType(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetImportType(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char* psKey=0;
|
||||
|
||||
@@ -516,7 +519,7 @@ PyObject* Application::sGetImportType(PyObject * /*self*/, PyObject *args,PyObje
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* Application::sAddExportType(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sAddExportType(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *psKey,*psMod;
|
||||
|
||||
@@ -528,7 +531,7 @@ PyObject* Application::sAddExportType(PyObject * /*self*/, PyObject *args,PyObje
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* Application::sGetExportType(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetExportType(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char* psKey=0;
|
||||
|
||||
@@ -568,7 +571,7 @@ PyObject* Application::sGetExportType(PyObject * /*self*/, PyObject *args,PyObje
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* Application::sGetResourceDir(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetResourceDir(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -577,7 +580,7 @@ PyObject* Application::sGetResourceDir(PyObject * /*self*/, PyObject *args,PyObj
|
||||
return Py::new_reference_to(datadir);
|
||||
}
|
||||
|
||||
PyObject* Application::sGetUserAppDataDir(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetUserAppDataDir(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -586,16 +589,24 @@ PyObject* Application::sGetUserAppDataDir(PyObject * /*self*/, PyObject *args,Py
|
||||
return Py::new_reference_to(user_data_dir);
|
||||
}
|
||||
|
||||
PyObject* Application::sGetUserMacroDir(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetUserMacroDir(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
PyObject *actual = Py_False;
|
||||
if (!PyArg_ParseTuple(args, "|O!", &PyBool_Type, &actual))
|
||||
return NULL;
|
||||
|
||||
Py::String user_macro_dir(Application::getUserMacroDir(),"utf-8");
|
||||
std::string macroDir = Application::getUserMacroDir();
|
||||
if (PyObject_IsTrue(actual)) {
|
||||
macroDir = App::GetApplication().
|
||||
GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
|
||||
->GetASCII("MacroPath",macroDir.c_str());
|
||||
}
|
||||
|
||||
Py::String user_macro_dir(macroDir,"utf-8");
|
||||
return Py::new_reference_to(user_macro_dir);
|
||||
}
|
||||
|
||||
PyObject* Application::sGetHelpDir(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetHelpDir(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -604,7 +615,7 @@ PyObject* Application::sGetHelpDir(PyObject * /*self*/, PyObject *args,PyObject
|
||||
return Py::new_reference_to(user_macro_dir);
|
||||
}
|
||||
|
||||
PyObject* Application::sGetHomePath(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sGetHomePath(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -613,7 +624,7 @@ PyObject* Application::sGetHomePath(PyObject * /*self*/, PyObject *args,PyObject
|
||||
return Py::new_reference_to(homedir);
|
||||
}
|
||||
|
||||
PyObject* Application::sListDocuments(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sListDocuments(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
@@ -640,7 +651,7 @@ PyObject* Application::sListDocuments(PyObject * /*self*/, PyObject *args,PyObje
|
||||
} PY_CATCH;
|
||||
}
|
||||
|
||||
PyObject* Application::sAddDocObserver(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sAddDocObserver(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
PyObject* o;
|
||||
if (!PyArg_ParseTuple(args, "O",&o))
|
||||
@@ -651,7 +662,7 @@ PyObject* Application::sAddDocObserver(PyObject * /*self*/, PyObject *args,PyObj
|
||||
} PY_CATCH;
|
||||
}
|
||||
|
||||
PyObject* Application::sRemoveDocObserver(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
|
||||
PyObject* Application::sRemoveDocObserver(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
PyObject* o;
|
||||
if (!PyArg_ParseTuple(args, "O",&o))
|
||||
@@ -662,7 +673,7 @@ PyObject* Application::sRemoveDocObserver(PyObject * /*self*/, PyObject *args,Py
|
||||
} PY_CATCH;
|
||||
}
|
||||
|
||||
PyObject *Application::sSetLogLevel(PyObject * /*self*/, PyObject *args, PyObject * /*kwd*/)
|
||||
PyObject *Application::sSetLogLevel(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *tag;
|
||||
PyObject *pcObj;
|
||||
@@ -694,7 +705,7 @@ PyObject *Application::sSetLogLevel(PyObject * /*self*/, PyObject *args, PyObjec
|
||||
"Unknown Log Level (use 'Default', 'Error', 'Warning', 'Message', 'Log', 'Trace' or an integer)");
|
||||
return NULL;
|
||||
}
|
||||
}else
|
||||
}else
|
||||
l = PyLong_AsLong(pcObj);
|
||||
GetApplication().GetParameterGroupByPath("User parameter:BaseApp/LogLevels")->SetInt(tag,l);
|
||||
if(strcmp(tag,"Default") == 0) {
|
||||
@@ -712,7 +723,7 @@ PyObject *Application::sSetLogLevel(PyObject * /*self*/, PyObject *args, PyObjec
|
||||
}PY_CATCH;
|
||||
}
|
||||
|
||||
PyObject *Application::sGetLogLevel(PyObject * /*self*/, PyObject *args, PyObject * /*kwd*/)
|
||||
PyObject *Application::sGetLogLevel(PyObject * /*self*/, PyObject *args)
|
||||
{
|
||||
char *tag;
|
||||
if (!PyArg_ParseTuple(args, "s", &tag))
|
||||
|
||||
+20
-7
@@ -3,6 +3,10 @@ if(WIN32)
|
||||
add_definitions(-DBOOST_DYN_LINK)
|
||||
endif(WIN32)
|
||||
|
||||
if(FREECAD_RELEASE_SEH)
|
||||
add_definitions(-DHAVE_SEH)
|
||||
endif(FREECAD_RELEASE_SEH)
|
||||
|
||||
# This causes some problems with the resource files to be found, especially with the StartPage
|
||||
IF(RESOURCEDIR)
|
||||
add_definitions(-DRESOURCEDIR="${RESOURCEDIR}")
|
||||
@@ -17,15 +21,17 @@ add_definitions(-DBOOST_${Boost_VERSION})
|
||||
#if you want to use the old DAG structure uncomment this line
|
||||
#add_definitions(-DUSE_OLD_DAG)
|
||||
|
||||
#write relevant cmake variables to a file for later access with python. Exportet are all variables
|
||||
#starting with BUILD. As the variable only exists if the user set it to ON a dict is useless, we
|
||||
#use a python list for export.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
#write relevant cmake variables to a file for later access with python. Exported are all variables
|
||||
#starting with BUILD. As the variable only exists if the user set it to ON a dict is useless, we
|
||||
#use a python list for export.
|
||||
set(_vars "const char CMakeVariables[] =\"cmake = [")
|
||||
set(_delim "")
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
foreach (_variableName ${_variableNames})
|
||||
if (${_variableName})
|
||||
STRING(REGEX MATCH "^[_]?[^_]*" _prefix "${_variableName}_")
|
||||
STRING(REGEX MATCH "^[_]?[^_]*" _prefix "${_variableName}_")
|
||||
if(${_prefix} STREQUAL "BUILD")
|
||||
STRING(REPLACE "\\" "\\\\" _name ${_variableName})
|
||||
set(_vars "${_vars}${_delim}\\n\"\n\"\\\"${_name}\\\"")
|
||||
@@ -34,7 +40,14 @@ foreach (_variableName ${_variableNames})
|
||||
endif ()
|
||||
endforeach()
|
||||
set(_vars "${_vars}]\\n\" \n;")
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CMakeScript.h "${_vars}" )
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CMakeScript.hh "${_vars}" )
|
||||
|
||||
fc_copy_file_if_different(
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/CMakeScript.hh"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/CMakeScript.h"
|
||||
)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}/src
|
||||
@@ -266,10 +279,10 @@ SET(FreeCADApp_SRCS
|
||||
PreCompiled.h
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
if(BUILD_USE_PCH)
|
||||
add_definitions(-D_PreComp_)
|
||||
ADD_MSVC_PRECOMPILED_HEADER(FreeCADApp PreCompiled.h PreCompiled.cpp FreeCADApp_CPP_SRCS)
|
||||
endif(MSVC)
|
||||
endif(BUILD_USE_PCH)
|
||||
|
||||
add_library(FreeCADApp SHARED ${FreeCADApp_SRCS})
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include "Material.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
+179
-77
@@ -324,7 +324,7 @@ void Document::exportGraphviz(std::ostream& out) const
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief setPropertyVertexAttributes Set vertex attributes for a Porperty node in a graph.
|
||||
* @brief setPropertyVertexAttributes Set vertex attributes for a Property node in a graph.
|
||||
* @param g Graph
|
||||
* @param vertex Property node
|
||||
* @param name Name of node
|
||||
@@ -525,13 +525,22 @@ void Document::exportGraphviz(std::ostream& out) const
|
||||
setGraphLabel(sub, cs);
|
||||
|
||||
for(auto obj : cs->getOutList()) {
|
||||
if(obj->hasExtension(GeoFeatureGroupExtension::getExtensionClassTypeId()))
|
||||
recursiveCSSubgraphs(obj, cs);
|
||||
if (obj->hasExtension(GeoFeatureGroupExtension::getExtensionClassTypeId())) {
|
||||
// in case of dependencies loops check if obj is already part of the
|
||||
// map to avoid infinite recursions
|
||||
auto it = GraphList.find(obj);
|
||||
if (it == GraphList.end())
|
||||
recursiveCSSubgraphs(obj, cs);
|
||||
}
|
||||
}
|
||||
|
||||
//setup the origin if available
|
||||
if(cs->hasExtension(App::OriginGroupExtension::getExtensionClassTypeId())) {
|
||||
auto origin = cs->getExtensionByType<OriginGroupExtension>()->Origin.getValue();
|
||||
if (!origin) {
|
||||
std::cerr << "Origin feature not found" << std::endl;
|
||||
return;
|
||||
}
|
||||
auto& osub = sub.create_subgraph();
|
||||
GraphList[origin] = &osub;
|
||||
get_property(osub, graph_name) = getClusterName(origin);
|
||||
@@ -548,7 +557,8 @@ void Document::exportGraphviz(std::ostream& out) const
|
||||
if(CSSubgraphs) {
|
||||
//first build up the coordinate system subgraphs
|
||||
for (auto objectIt : d->objectArray) {
|
||||
if (objectIt->hasExtension(GeoFeatureGroupExtension::getExtensionClassTypeId()) && objectIt->getInList().empty())
|
||||
// do not require an empty inlist (#0003465: Groups breaking dependency graph)
|
||||
if (objectIt->hasExtension(GeoFeatureGroupExtension::getExtensionClassTypeId()))
|
||||
recursiveCSSubgraphs(objectIt, nullptr);
|
||||
}
|
||||
}
|
||||
@@ -955,6 +965,8 @@ void Document::openTransaction(const char* name)
|
||||
d->activeUndoTransaction->Name = name;
|
||||
else
|
||||
d->activeUndoTransaction->Name = "<empty>";
|
||||
|
||||
signalOpenTransaction(*this, d->activeUndoTransaction->Name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -994,6 +1006,7 @@ void Document::commitTransaction()
|
||||
delete mUndoTransactions.front();
|
||||
mUndoTransactions.pop_front();
|
||||
}
|
||||
signalCommitTransaction(*this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1008,6 +1021,7 @@ void Document::abortTransaction()
|
||||
// destroy the undo
|
||||
delete d->activeUndoTransaction;
|
||||
d->activeUndoTransaction = 0;
|
||||
signalAbortTransaction(*this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1019,6 +1033,15 @@ bool Document::hasPendingTransaction() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Document::isTransactionEmpty() const
|
||||
{
|
||||
if (d->activeUndoTransaction) {
|
||||
return d->activeUndoTransaction->isEmpty();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void Document::clearUndos()
|
||||
{
|
||||
if (d->activeUndoTransaction)
|
||||
@@ -1088,8 +1111,15 @@ unsigned int Document::getMaxUndoStackSize(void)const
|
||||
return d->UndoMaxStackSize;
|
||||
}
|
||||
|
||||
void Document::onBeforeChange(const Property* prop)
|
||||
{
|
||||
signalBeforeChange(*this, *prop);
|
||||
}
|
||||
|
||||
void Document::onChanged(const Property* prop)
|
||||
{
|
||||
signalChanged(*this, *prop);
|
||||
|
||||
// the Name property is a label for display purposes
|
||||
if (prop == &Label) {
|
||||
App::GetApplication().signalRelabelDocument(*this);
|
||||
@@ -1130,6 +1160,9 @@ void Document::onChanged(const Property* prop)
|
||||
|
||||
void Document::onBeforeChangeProperty(const TransactionalObject *Who, const Property *What)
|
||||
{
|
||||
if(Who->isDerivedFrom(App::DocumentObject::getClassTypeId()))
|
||||
signalBeforeChangeObject(*static_cast<const App::DocumentObject*>(Who), *What);
|
||||
|
||||
if (d->activeUndoTransaction && !d->rollback)
|
||||
d->activeUndoTransaction->addObjectChange(Who,What);
|
||||
}
|
||||
@@ -1254,7 +1287,11 @@ Document::~Document()
|
||||
Console().Log("-App::Document: %s %p\n",getName(), this);
|
||||
#endif
|
||||
|
||||
clearUndos();
|
||||
try {
|
||||
clearUndos();
|
||||
}
|
||||
catch (const boost::exception&) {
|
||||
}
|
||||
|
||||
std::map<std::string,DocumentObject*>::iterator it;
|
||||
|
||||
@@ -1273,6 +1310,7 @@ Document::~Document()
|
||||
// not to dec'ref the Python object any more.
|
||||
// But we must still invalidate the Python object because it doesn't need to be
|
||||
// destructed right now because the interpreter can own several references to it.
|
||||
Base::PyGILStateLocker lock;
|
||||
Base::PyObjectBase* doc = (Base::PyObjectBase*)DocumentPythonObject.ptr();
|
||||
// Call before decrementing the reference counter, otherwise a heap error can occur
|
||||
doc->setInvalid();
|
||||
@@ -1307,11 +1345,6 @@ std::string Document::getTransientDirectoryName(const std::string& uuid, const s
|
||||
|
||||
void Document::Save (Base::Writer &writer) const
|
||||
{
|
||||
writer.Stream() << "<?xml version='1.0' encoding='utf-8'?>" << endl
|
||||
<< "<!--" << endl
|
||||
<< " FreeCAD Document, see http://www.freecadweb.org for more information..." << endl
|
||||
<< "-->" << endl;
|
||||
|
||||
writer.Stream() << "<Document SchemaVersion=\"4\" ProgramVersion=\""
|
||||
<< App::Application::Config()["BuildVersionMajor"] << "."
|
||||
<< App::Application::Config()["BuildVersionMinor"] << "R"
|
||||
@@ -1522,16 +1555,40 @@ Document::readObjects(Base::XMLReader& reader)
|
||||
setStatus(Document::KeepTrailingDigits, keepDigits);
|
||||
|
||||
// read the features itself
|
||||
reader.clearPartialRestoreDocumentObject();
|
||||
reader.readElement("ObjectData");
|
||||
Cnt = reader.getAttributeAsInteger("Count");
|
||||
for (int i=0 ;i<Cnt ;i++) {
|
||||
reader.readElement("Object");
|
||||
std::string name = reader.getName(reader.getAttribute("name"));
|
||||
DocumentObject* pObj = getObject(name.c_str());
|
||||
|
||||
if (pObj) { // check if this feature has been registered
|
||||
pObj->setStatus(ObjectStatus::Restore, true);
|
||||
pObj->Restore(reader);
|
||||
try {
|
||||
pObj->Restore(reader);
|
||||
}
|
||||
// Try to continue only for certain exception types if not handled
|
||||
// by the feature type. For all other exception types abort the process.
|
||||
catch (const Base::UnicodeError &e) {
|
||||
e.ReportException();
|
||||
}
|
||||
catch (const Base::ValueError &e) {
|
||||
e.ReportException();
|
||||
}
|
||||
catch (const Base::IndexError &e) {
|
||||
e.ReportException();
|
||||
}
|
||||
catch (const Base::RuntimeError &e) {
|
||||
e.ReportException();
|
||||
}
|
||||
|
||||
pObj->setStatus(ObjectStatus::Restore, false);
|
||||
|
||||
if (reader.testStatus(Base::XMLReader::ReaderStatus::PartialRestoreInDocumentObject)) {
|
||||
Base::Console().Error("Object \"%s\" was subject to a partial restore. As a result geometry may have changed or be incomplete.\n",name.c_str());
|
||||
reader.clearPartialRestoreDocumentObject();
|
||||
}
|
||||
}
|
||||
reader.readEndElement("Object");
|
||||
}
|
||||
@@ -1604,19 +1661,10 @@ bool Document::saveAs(const char* file)
|
||||
return save();
|
||||
}
|
||||
|
||||
bool Document::saveCopy(const char* file)
|
||||
bool Document::saveCopy(const char* file) const
|
||||
{
|
||||
std::string originalFileName = this->FileName.getStrValue();
|
||||
std::string originalLabel = this->Label.getStrValue();
|
||||
Base::FileInfo fi(file);
|
||||
if (this->FileName.getStrValue() != file) {
|
||||
this->FileName.setValue(file);
|
||||
this->Label.setValue(fi.fileNamePure());
|
||||
this->Uid.touch(); // this forces a rename of the transient directory
|
||||
bool result = save();
|
||||
this->FileName.setValue(originalFileName);
|
||||
this->Label.setValue(originalLabel);
|
||||
this->Uid.touch();
|
||||
bool result = saveToFile(file);
|
||||
return result;
|
||||
}
|
||||
return false;
|
||||
@@ -1625,13 +1673,9 @@ bool Document::saveCopy(const char* file)
|
||||
// Save the document under the name it has been opened
|
||||
bool Document::save (void)
|
||||
{
|
||||
int compression = App::GetApplication().GetParameterGroupByPath
|
||||
("User parameter:BaseApp/Preferences/Document")->GetInt("CompressionLevel",3);
|
||||
compression = Base::clamp<int>(compression, Z_NO_COMPRESSION, Z_BEST_COMPRESSION);
|
||||
|
||||
if (*(FileName.getValue()) != '\0') {
|
||||
// Save the name of the tip object in order to handle in Restore()
|
||||
if(Tip.getValue()) {
|
||||
if (Tip.getValue()) {
|
||||
TipName.setValue(Tip.getValue()->getNameInDocument());
|
||||
}
|
||||
|
||||
@@ -1645,40 +1689,72 @@ bool Document::save (void)
|
||||
("User parameter:BaseApp/Preferences/Document")->GetASCII("prefAuthor","");
|
||||
LastModifiedBy.setValue(Author.c_str());
|
||||
}
|
||||
// make a tmp. file where to save the project data first and then rename to
|
||||
// the actual file name. This may be useful if overwriting an existing file
|
||||
// fails so that the data of the work up to now isn't lost.
|
||||
std::string uuid = Base::Uuid::createUuid();
|
||||
std::string fn = FileName.getValue();
|
||||
fn += "."; fn += uuid;
|
||||
Base::FileInfo tmp(fn);
|
||||
|
||||
// open extra scope to close ZipWriter properly
|
||||
{
|
||||
Base::ofstream file(tmp, std::ios::out | std::ios::binary);
|
||||
Base::ZipWriter writer(file);
|
||||
return saveToFile(FileName.getValue());
|
||||
}
|
||||
|
||||
writer.setComment("FreeCAD Document");
|
||||
writer.setLevel(compression);
|
||||
writer.putNextEntry("Document.xml");
|
||||
return false;
|
||||
}
|
||||
|
||||
Document::Save(writer);
|
||||
bool Document::saveToFile(const char* filename) const
|
||||
{
|
||||
signalStartSave(*this, filename);
|
||||
|
||||
// Special handling for Gui document.
|
||||
signalSaveDocument(writer);
|
||||
auto hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Document");
|
||||
int compression = hGrp->GetInt("CompressionLevel",3);
|
||||
compression = Base::clamp<int>(compression, Z_NO_COMPRESSION, Z_BEST_COMPRESSION);
|
||||
|
||||
// write additional files
|
||||
writer.writeFiles();
|
||||
bool policy = App::GetApplication().GetParameterGroupByPath
|
||||
("User parameter:BaseApp/Preferences/Document")->GetBool("BackupPolicy",true);
|
||||
|
||||
if (writer.hasErrors()) {
|
||||
throw Base::FileException("Failed to write all data to file", tmp);
|
||||
}
|
||||
// make a tmp. file where to save the project data first and then rename to
|
||||
// the actual file name. This may be useful if overwriting an existing file
|
||||
// fails so that the data of the work up to now isn't lost.
|
||||
std::string uuid = Base::Uuid::createUuid();
|
||||
std::string fn = filename;
|
||||
if (policy) {
|
||||
fn += ".";
|
||||
fn += uuid;
|
||||
}
|
||||
Base::FileInfo tmp(fn);
|
||||
|
||||
GetApplication().signalSaveDocument(*this);
|
||||
// open extra scope to close ZipWriter properly
|
||||
{
|
||||
Base::ofstream file(tmp, std::ios::out | std::ios::binary);
|
||||
Base::ZipWriter writer(file);
|
||||
if (!file.is_open()) {
|
||||
throw Base::FileException("Failed to open file", tmp);
|
||||
}
|
||||
|
||||
writer.setComment("FreeCAD Document");
|
||||
writer.setLevel(compression);
|
||||
writer.putNextEntry("Document.xml");
|
||||
|
||||
if (hGrp->GetBool("SaveBinaryBrep", false))
|
||||
writer.setMode("BinaryBrep");
|
||||
|
||||
writer.Stream() << "<?xml version='1.0' encoding='utf-8'?>" << endl
|
||||
<< "<!--" << endl
|
||||
<< " FreeCAD Document, see http://www.freecadweb.org for more information..." << endl
|
||||
<< "-->" << endl;
|
||||
Document::Save(writer);
|
||||
|
||||
// Special handling for Gui document.
|
||||
signalSaveDocument(writer);
|
||||
|
||||
// write additional files
|
||||
writer.writeFiles();
|
||||
|
||||
if (writer.hasErrors()) {
|
||||
throw Base::FileException("Failed to write all data to file", tmp);
|
||||
}
|
||||
|
||||
GetApplication().signalSaveDocument(*this);
|
||||
}
|
||||
|
||||
if (policy) {
|
||||
// if saving the project data succeeded rename to the actual file name
|
||||
Base::FileInfo fi(FileName.getValue());
|
||||
Base::FileInfo fi(filename);
|
||||
if (fi.exists()) {
|
||||
bool backup = App::GetApplication().GetParameterGroupByPath
|
||||
("User parameter:BaseApp/Preferences/Document")->GetBool("CreateBackupFiles",true);
|
||||
@@ -1731,14 +1807,15 @@ bool Document::save (void)
|
||||
fi.deleteFile();
|
||||
}
|
||||
}
|
||||
if (tmp.renameFile(FileName.getValue()) == false)
|
||||
if (tmp.renameFile(filename) == false) {
|
||||
Base::Console().Warning("Cannot rename file from '%s' to '%s'\n",
|
||||
fn.c_str(), FileName.getValue());
|
||||
|
||||
return true;
|
||||
fn.c_str(), filename);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
signalFinishSave(*this, filename);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Open the document
|
||||
@@ -1755,6 +1832,7 @@ void Document::restore (void)
|
||||
signalTransactionRemove(*(*obj), 0);
|
||||
}
|
||||
for (std::vector<DocumentObject*>::iterator obj = d->objectArray.begin(); obj != d->objectArray.end(); ++obj) {
|
||||
(*obj)->setStatus(ObjectStatus::Destroy, true);
|
||||
delete *obj;
|
||||
}
|
||||
d->objectArray.clear();
|
||||
@@ -1807,6 +1885,11 @@ void Document::restore (void)
|
||||
|
||||
GetApplication().signalFinishRestoreDocument(*this);
|
||||
setStatus(Document::Restoring, false);
|
||||
|
||||
if (reader.testStatus(Base::XMLReader::ReaderStatus::PartialRestore)) {
|
||||
setStatus(Document::PartialRestore, true);
|
||||
Base::Console().Error("There were errors while loading the file. Some data might have been modified or not recovered at all. Look above for more specific information about the objects involved.\n");
|
||||
}
|
||||
}
|
||||
|
||||
bool Document::isSaved() const
|
||||
@@ -1957,7 +2040,7 @@ Document::getDependencyList(const std::vector<App::DocumentObject*>& objs) const
|
||||
std::stringstream ss;
|
||||
ss << "Gathering all dependencies failed, probably due to circular dependencies. Error: ";
|
||||
ss << e.what();
|
||||
throw Base::RuntimeError(ss.str().c_str());
|
||||
throw Base::BadGraphError(ss.str().c_str());
|
||||
}
|
||||
|
||||
std::set<Vertex> out;
|
||||
@@ -2075,7 +2158,7 @@ int Document::recompute()
|
||||
if (skip)
|
||||
return 0;
|
||||
|
||||
ObjectStatusLocker<Document::Status, Document> exe(Document::Recomputing, this);
|
||||
Base::ObjectStatusLocker<Document::Status, Document> exe(Document::Recomputing, this);
|
||||
|
||||
// delete recompute log
|
||||
for (std::vector<App::DocumentObjectExecReturn*>::iterator it=_RecomputeLog.begin();it!=_RecomputeLog.end();++it)
|
||||
@@ -2088,7 +2171,6 @@ int Document::recompute()
|
||||
std::list<Vertex> make_order;
|
||||
DependencyList::out_edge_iterator j, jend;
|
||||
|
||||
|
||||
try {
|
||||
// this sort gives the execute
|
||||
boost::topological_sort(d->DepList, std::front_inserter(make_order));
|
||||
@@ -2171,6 +2253,7 @@ int Document::recompute()
|
||||
d->vertexMap.clear();
|
||||
return -1;
|
||||
}
|
||||
signalRecomputedObject(*Cur);
|
||||
++objectCount;
|
||||
}
|
||||
}
|
||||
@@ -2225,27 +2308,33 @@ int Document::recompute()
|
||||
|
||||
for (auto objIt = topoSortedObjects.rbegin(); objIt != topoSortedObjects.rend(); ++objIt){
|
||||
// ask the object if it should be recomputed
|
||||
if ((*objIt)->isTouched() || (*objIt)->mustExecute() == 1){
|
||||
bool doRecompute = false;
|
||||
if ((*objIt)->mustRecompute()) {
|
||||
doRecompute = true;
|
||||
objectCount++;
|
||||
if (_recomputeFeature(*objIt)) {
|
||||
// if something happened break execution of recompute
|
||||
return -1;
|
||||
}
|
||||
else{
|
||||
(*objIt)->purgeTouched();
|
||||
// set all dependent object touched to force recompute
|
||||
for (auto inObjIt : (*objIt)->getInList())
|
||||
inObjIt->touch();
|
||||
}
|
||||
|
||||
signalRecomputedObject(*(*objIt));
|
||||
}
|
||||
|
||||
if ((*objIt)->isTouched() || doRecompute) {
|
||||
(*objIt)->purgeTouched();
|
||||
// force recompute of all dependent objects
|
||||
for (auto inObjIt : (*objIt)->getInList())
|
||||
inObjIt->enforceRecompute();
|
||||
}
|
||||
}
|
||||
#ifdef FC_DEBUG
|
||||
// check if all objects are recalculated which were thouched
|
||||
|
||||
// check if all objects are recalculated which were touched
|
||||
for (auto objectIt : d->objectArray) {
|
||||
if (objectIt->isTouched())
|
||||
cerr << "Document::recompute(): " << objectIt->getNameInDocument() << " still touched after recompute" << endl;
|
||||
if (objectIt->isTouched()) {
|
||||
Base::Console().Warning("Document::recompute(): %s still touched after recompute\n",
|
||||
objectIt->getNameInDocument());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
signalRecomputed(*this);
|
||||
|
||||
@@ -2398,7 +2487,8 @@ std::vector<App::DocumentObject*> DocumentP::topologicalSort(const std::vector<A
|
||||
|
||||
for (auto outListIt : out) {
|
||||
auto outListMapIt = countMap.find(outListIt);
|
||||
outListMapIt->second = outListMapIt->second - 1;
|
||||
if (outListMapIt != countMap.end())
|
||||
outListMapIt->second = outListMapIt->second - 1;
|
||||
}
|
||||
ret.push_back(rootObjeIt->first);
|
||||
|
||||
@@ -2437,7 +2527,7 @@ bool Document::_recomputeFeature(DocumentObject* Feat)
|
||||
returnCode->Which = Feat;
|
||||
_RecomputeLog.push_back(returnCode);
|
||||
#ifdef FC_DEBUG
|
||||
Base::Console().Error("%s\n",returnCode->Why.c_str());
|
||||
Base::Console().Error("Error in feature: %s\n%s\n",Feat->getNameInDocument(),returnCode->Why.c_str());
|
||||
#endif
|
||||
Feat->setError();
|
||||
return true;
|
||||
@@ -2486,7 +2576,7 @@ bool Document::_recomputeFeature(DocumentObject* Feat)
|
||||
returnCode->Which = Feat;
|
||||
_RecomputeLog.push_back(returnCode);
|
||||
#ifdef FC_DEBUG
|
||||
Base::Console().Error("%s\n",returnCode->Why.c_str());
|
||||
Base::Console().Error("Error in feature: %s\n%s\n",Feat->getNameInDocument(),returnCode->Why.c_str());
|
||||
#endif
|
||||
Feat->setError();
|
||||
}
|
||||
@@ -2501,8 +2591,10 @@ void Document::recomputeFeature(DocumentObject* Feat)
|
||||
_RecomputeLog.clear();
|
||||
|
||||
// verify that the feature is (active) part of the document
|
||||
if (Feat->getNameInDocument())
|
||||
if (Feat->getNameInDocument()) {
|
||||
_recomputeFeature(Feat);
|
||||
signalRecomputedObject(*Feat);
|
||||
}
|
||||
}
|
||||
|
||||
DocumentObject * Document::addObject(const char* sType, const char* pObjectName, bool isNew)
|
||||
@@ -2819,7 +2911,6 @@ void Document::_removeObject(DocumentObject* pcObject)
|
||||
|
||||
std::map<std::string,DocumentObject*>::iterator pos = d->objectMap.find(pcObject->getNameInDocument());
|
||||
|
||||
|
||||
if (d->activeObject == pcObject)
|
||||
d->activeObject = 0;
|
||||
|
||||
@@ -2940,7 +3031,13 @@ void Document::breakDependency(DocumentObject* pcObject, bool clear)
|
||||
std::vector<App::ObjectIdentifier> paths;
|
||||
pcObject->ExpressionEngine.getPathsToDocumentObject(it->second, paths);
|
||||
for (std::vector<App::ObjectIdentifier>::iterator jt = paths.begin(); jt != paths.end(); ++jt) {
|
||||
pcObject->ExpressionEngine.setValue(*jt, nullptr);
|
||||
// When nullifying the expression handle case where an identifier lacks of the property
|
||||
try {
|
||||
pcObject->ExpressionEngine.setValue(*jt, nullptr);
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.ReportException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2956,6 +3053,11 @@ DocumentObject* Document::copyObject(DocumentObject* obj, bool recursive)
|
||||
md.setVerbose(recursive);
|
||||
if (recursive) {
|
||||
objs = obj->getDocument()->getDependencyList(objs);
|
||||
auto it = std::find(objs.begin(), objs.end(), obj);
|
||||
if (it != objs.end()) {
|
||||
auto index = std::distance(objs.begin(), it);
|
||||
std::swap(objs[index], objs.back());
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int memsize=1000; // ~ for the meta-information
|
||||
|
||||
+50
-27
@@ -37,7 +37,7 @@
|
||||
#include <stack>
|
||||
#include <functional>
|
||||
|
||||
#include <boost/signals.hpp>
|
||||
#include <boost/signals2.hpp>
|
||||
|
||||
namespace Base {
|
||||
class Writer;
|
||||
@@ -68,7 +68,8 @@ public:
|
||||
KeepTrailingDigits = 1,
|
||||
Closable = 2,
|
||||
Restoring = 3,
|
||||
Recomputing = 4
|
||||
Recomputing = 4,
|
||||
PartialRestore = 5
|
||||
};
|
||||
|
||||
/** @name Properties */
|
||||
@@ -112,41 +113,58 @@ public:
|
||||
|
||||
/** @name Signals of the document */
|
||||
//@{
|
||||
/// signal before changing an doc property
|
||||
boost::signals2::signal<void (const App::Document&, const App::Property&)> signalBeforeChange;
|
||||
/// signal on changed doc property
|
||||
boost::signals2::signal<void (const App::Document&, const App::Property&)> signalChanged;
|
||||
/// signal on new Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalNewObject;
|
||||
//boost::signal<void (const App::DocumentObject&)> m_sig;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalNewObject;
|
||||
//boost::signals2::signal<void (const App::DocumentObject&)> m_sig;
|
||||
/// signal on deleted Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalDeletedObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalDeletedObject;
|
||||
/// signal before changing an Object
|
||||
boost::signals2::signal<void (const App::DocumentObject&, const App::Property&)> signalBeforeChangeObject;
|
||||
/// signal on changed Object
|
||||
boost::signal<void (const App::DocumentObject&, const App::Property&)> signalChangedObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&, const App::Property&)> signalChangedObject;
|
||||
/// signal on relabeled Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalRelabelObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalRelabelObject;
|
||||
/// signal on activated Object
|
||||
boost::signal<void (const App::DocumentObject&)> signalActivatedObject;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalActivatedObject;
|
||||
/// signal on created object
|
||||
boost::signal<void (const App::DocumentObject&, Transaction*)> signalTransactionAppend;
|
||||
boost::signals2::signal<void (const App::DocumentObject&, Transaction*)> signalTransactionAppend;
|
||||
/// signal on removed object
|
||||
boost::signal<void (const App::DocumentObject&, Transaction*)> signalTransactionRemove;
|
||||
boost::signals2::signal<void (const App::DocumentObject&, Transaction*)> signalTransactionRemove;
|
||||
/// signal on undo
|
||||
boost::signal<void (const App::Document&)> signalUndo;
|
||||
boost::signals2::signal<void (const App::Document&)> signalUndo;
|
||||
/// signal on redo
|
||||
boost::signal<void (const App::Document&)> signalRedo;
|
||||
boost::signals2::signal<void (const App::Document&)> signalRedo;
|
||||
/** signal on load/save document
|
||||
* this signal is given when the document gets streamed.
|
||||
* you can use this hook to write additional information in
|
||||
* the file (like the Gui::Document it does).
|
||||
* the file (like the Gui::Document does).
|
||||
*/
|
||||
boost::signal<void (Base::Writer &)> signalSaveDocument;
|
||||
boost::signal<void (Base::XMLReader&)> signalRestoreDocument;
|
||||
boost::signal<void (const std::vector<App::DocumentObject*>&,
|
||||
Base::Writer &)> signalExportObjects;
|
||||
boost::signal<void (const std::vector<App::DocumentObject*>&,
|
||||
Base::Writer &)> signalExportViewObjects;
|
||||
boost::signal<void (const std::vector<App::DocumentObject*>&,
|
||||
Base::XMLReader&)> signalImportObjects;
|
||||
boost::signal<void (const std::vector<App::DocumentObject*>&, Base::Reader&,
|
||||
const std::map<std::string, std::string>&)> signalImportViewObjects;
|
||||
boost::signal<void (const App::Document&)> signalRecomputed;
|
||||
boost::signals2::signal<void (Base::Writer &)> signalSaveDocument;
|
||||
boost::signals2::signal<void (Base::XMLReader&)> signalRestoreDocument;
|
||||
boost::signals2::signal<void (const std::vector<App::DocumentObject*>&,
|
||||
Base::Writer &)> signalExportObjects;
|
||||
boost::signals2::signal<void (const std::vector<App::DocumentObject*>&,
|
||||
Base::Writer &)> signalExportViewObjects;
|
||||
boost::signals2::signal<void (const std::vector<App::DocumentObject*>&,
|
||||
Base::XMLReader&)> signalImportObjects;
|
||||
boost::signals2::signal<void (const std::vector<App::DocumentObject*>&, Base::Reader&,
|
||||
const std::map<std::string, std::string>&)> signalImportViewObjects;
|
||||
//signal starting a save action to a file
|
||||
boost::signals2::signal<void (const App::Document&, const std::string&)> signalStartSave;
|
||||
//signal finishing a save action to a file
|
||||
boost::signals2::signal<void (const App::Document&, const std::string&)> signalFinishSave;
|
||||
boost::signals2::signal<void (const App::Document&)> signalRecomputed;
|
||||
boost::signals2::signal<void (const App::DocumentObject&)> signalRecomputedObject;
|
||||
//signal a new opened transaction
|
||||
boost::signals2::signal<void (const App::Document&, std::string)> signalOpenTransaction;
|
||||
// signal a committed transaction
|
||||
boost::signals2::signal<void (const App::Document&)> signalCommitTransaction;
|
||||
// signal an aborted transaction
|
||||
boost::signals2::signal<void (const App::Document&)> signalAbortTransaction;
|
||||
//@}
|
||||
|
||||
/** @name File handling of the document */
|
||||
@@ -156,7 +174,7 @@ public:
|
||||
/// Save the document to the file in Property Path
|
||||
bool save (void);
|
||||
bool saveAs(const char* file);
|
||||
bool saveCopy(const char* file);
|
||||
bool saveCopy(const char* file) const;
|
||||
/// Restore the document from the file in Property Path
|
||||
void restore (void);
|
||||
void exportObjects(const std::vector<App::DocumentObject*>&, std::ostream&);
|
||||
@@ -202,7 +220,7 @@ public:
|
||||
* is raised.
|
||||
*/
|
||||
void addObject(DocumentObject*, const char* pObjectName=0);
|
||||
|
||||
|
||||
|
||||
/** Copy an object from another document to this document
|
||||
* If \a recursive is true then all objects this object depends on
|
||||
@@ -255,7 +273,7 @@ public:
|
||||
void setClosable(bool);
|
||||
/// check whether the document can be closed
|
||||
bool isClosable() const;
|
||||
/// Recompute all touched features and return the amount of recalculated features
|
||||
/// Recompute all touched features and return the number of recalculated features
|
||||
int recompute();
|
||||
/// Recompute only one feature
|
||||
void recomputeFeature(DocumentObject* Feat);
|
||||
@@ -286,6 +304,9 @@ public:
|
||||
void abortTransaction();
|
||||
/// Check if a transaction is open
|
||||
bool hasPendingTransaction() const;
|
||||
/// Check if a transaction is open and its list is empty.
|
||||
/// If no transaction is open true is returned.
|
||||
bool isTransactionEmpty() const;
|
||||
/// Set the Undo limit in Byte!
|
||||
void setUndoLimit(unsigned int UndoMemSize=0);
|
||||
/// Returns the actual memory consumption of the Undo redo stuff.
|
||||
@@ -364,7 +385,9 @@ protected:
|
||||
void breakDependency(DocumentObject* pcObject, bool clear);
|
||||
std::vector<App::DocumentObject*> readObjects(Base::XMLReader& reader);
|
||||
void writeObjects(const std::vector<App::DocumentObject*>&, Base::Writer &writer) const;
|
||||
bool saveToFile(const char* filename) const;
|
||||
|
||||
void onBeforeChange(const Property* prop);
|
||||
void onChanged(const Property* prop);
|
||||
/// callback from the Document objects before property will be changed
|
||||
void onBeforeChangeProperty(const TransactionalObject *Who, const Property *What);
|
||||
|
||||
+175
-127
@@ -38,7 +38,6 @@
|
||||
#include "DocumentObjectExtension.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include <boost/signals/connection.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
using namespace App;
|
||||
@@ -63,6 +62,7 @@ DocumentObject::DocumentObject(void)
|
||||
DocumentObject::~DocumentObject(void)
|
||||
{
|
||||
if (!PythonObject.is(Py::_None())){
|
||||
Base::PyGILStateLocker lock;
|
||||
// Remark: The API of Py::Object has been changed to set whether the wrapper owns the passed
|
||||
// Python object or not. In the constructor we forced the wrapper to own the object so we need
|
||||
// not to dec'ref the Python object any more.
|
||||
@@ -77,12 +77,13 @@ DocumentObject::~DocumentObject(void)
|
||||
App::DocumentObjectExecReturn *DocumentObject::recompute(void)
|
||||
{
|
||||
//check if the links are valid before making the recompute
|
||||
if(!GeoFeatureGroupExtension::areLinksValid(this))
|
||||
if(!GeoFeatureGroupExtension::areLinksValid(this)) {
|
||||
#if 1
|
||||
Base::Console().Warning("%s: Links go out of the allowed scope\n", getTypeId().getName());
|
||||
Base::Console().Warning("%s / %s: Links go out of the allowed scope\n", getTypeId().getName(), getNameInDocument());
|
||||
#else
|
||||
return new App::DocumentObjectExecReturn("Links go out of the allowed scope", this);
|
||||
#endif
|
||||
}
|
||||
|
||||
// set/unset the execution bit
|
||||
Base::ObjectStatusLocker<ObjectStatus, DocumentObject> exe(App::Recompute, this);
|
||||
@@ -110,19 +111,65 @@ bool DocumentObject::recomputeFeature()
|
||||
return isValid();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set this document object touched.
|
||||
* Touching a document object does not mean to recompute it, it only means that
|
||||
* other document objects that link it (i.e. its InList) will be recomputed.
|
||||
* If it should be forced to recompute a document object then use
|
||||
* \ref enforceRecompute() instead.
|
||||
*/
|
||||
void DocumentObject::touch(void)
|
||||
{
|
||||
StatusBits.set(ObjectStatus::Touch);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check whether the document object is touched or not.
|
||||
* @return true if document object is touched, false if not.
|
||||
*/
|
||||
bool DocumentObject::isTouched() const
|
||||
{
|
||||
return ExpressionEngine.isTouched() || StatusBits.test(ObjectStatus::Touch);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Enforces this document object to be recomputed.
|
||||
* This can be useful to recompute the feature without
|
||||
* having to change one of its input properties.
|
||||
*/
|
||||
void DocumentObject::enforceRecompute(void)
|
||||
{
|
||||
StatusBits.set(ObjectStatus::Enforce);
|
||||
StatusBits.set(ObjectStatus::Touch);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check whether the document object must be recomputed or not.
|
||||
* This means that the 'Enforce' flag is set or that \ref mustExecute()
|
||||
* returns a value > 0.
|
||||
* @return true if document object must be recomputed, false if not.
|
||||
*/
|
||||
bool DocumentObject::mustRecompute(void) const
|
||||
{
|
||||
if (StatusBits.test(ObjectStatus::Enforce))
|
||||
return true;
|
||||
|
||||
return mustExecute() > 0;
|
||||
}
|
||||
|
||||
short DocumentObject::mustExecute(void) const
|
||||
{
|
||||
if(isTouched())
|
||||
if (ExpressionEngine.isTouched())
|
||||
return 1;
|
||||
|
||||
//ask all extensions
|
||||
auto vector = getExtensionsDerivedFromType<App::DocumentObjectExtension>();
|
||||
for(auto ext : vector) {
|
||||
if(ext->extensionMustExecute())
|
||||
if (ext->extensionMustExecute())
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
const char* DocumentObject::getStatusString(void) const
|
||||
@@ -251,45 +298,45 @@ std::vector<App::DocumentObject*> DocumentObject::getInList(void) const
|
||||
#endif // if USE_OLD_DAG
|
||||
|
||||
|
||||
void _getInListRecursive(std::vector<DocumentObject*>& objSet, const DocumentObject* obj, const DocumentObject* checkObj, int depth)
|
||||
void _getInListRecursive(std::set<DocumentObject*>& objSet,
|
||||
const DocumentObject* obj,
|
||||
const DocumentObject* checkObj, int depth)
|
||||
{
|
||||
for (const auto objIt : obj->getInList()){
|
||||
for (const auto objIt : obj->getInList()) {
|
||||
// if the check object is in the recursive inList we have a cycle!
|
||||
if (objIt == checkObj || depth <= 0){
|
||||
std::cerr << "DocumentObject::getInListRecursive(): cyclic dependency detected!"<<std::endl;
|
||||
throw Base::RuntimeError("DocumentObject::getInListRecursive(): cyclic dependency detected!");
|
||||
if (objIt == checkObj || depth <= 0) {
|
||||
throw Base::BadGraphError("DocumentObject::getInListRecursive(): cyclic dependency detected!");
|
||||
}
|
||||
|
||||
objSet.push_back(objIt);
|
||||
_getInListRecursive(objSet, objIt, checkObj,depth-1);
|
||||
// if the element was already in the set then there is no need to process it again
|
||||
auto pair = objSet.insert(objIt);
|
||||
if (pair.second)
|
||||
_getInListRecursive(objSet, objIt, checkObj, depth-1);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> DocumentObject::getInListRecursive(void) const
|
||||
{
|
||||
// number of objects in document is a good estimate in result size
|
||||
int maxDepth = getDocument()->countObjects() +2;
|
||||
std::vector<App::DocumentObject*> result;
|
||||
result.reserve(maxDepth);
|
||||
int maxDepth = getDocument()->countObjects() + 2;
|
||||
std::set<App::DocumentObject*> result;
|
||||
|
||||
// using a rcursie helper to collect all InLists
|
||||
_getInListRecursive(result, this, this, maxDepth);
|
||||
|
||||
// remove duplicate entries and resize the vector
|
||||
std::sort(result.begin(), result.end());
|
||||
auto newEnd = std::unique(result.begin(), result.end());
|
||||
result.resize(std::distance(result.begin(), newEnd));
|
||||
|
||||
return result;
|
||||
std::vector<App::DocumentObject*> array;
|
||||
array.insert(array.begin(), result.begin(), result.end());
|
||||
return array;
|
||||
}
|
||||
|
||||
void _getOutListRecursive(std::set<DocumentObject*>& objSet, const DocumentObject* obj, const DocumentObject* checkObj, int depth)
|
||||
void _getOutListRecursive(std::set<DocumentObject*>& objSet,
|
||||
const DocumentObject* obj,
|
||||
const DocumentObject* checkObj, int depth)
|
||||
{
|
||||
for (const auto objIt : obj->getOutList()){
|
||||
for (const auto objIt : obj->getOutList()) {
|
||||
// if the check object is in the recursive inList we have a cycle!
|
||||
if (objIt == checkObj || depth <= 0){
|
||||
std::cerr << "DocumentObject::getOutListRecursive(): cyclic dependency detected!" << std::endl;
|
||||
throw Base::RuntimeError("DocumentObject::getOutListRecursive(): cyclic dependency detected!");
|
||||
if (objIt == checkObj || depth <= 0) {
|
||||
throw Base::BadGraphError("DocumentObject::getOutListRecursive(): cyclic dependency detected!");
|
||||
}
|
||||
|
||||
// if the element was already in the set then there is no need to process it again
|
||||
@@ -313,6 +360,81 @@ std::vector<App::DocumentObject*> DocumentObject::getOutListRecursive(void) cons
|
||||
return array;
|
||||
}
|
||||
|
||||
// helper for isInInListRecursive()
|
||||
bool _isInInListRecursive(const DocumentObject* act,
|
||||
const DocumentObject* checkObj, int depth)
|
||||
{
|
||||
#ifndef USE_OLD_DAG
|
||||
for (auto obj : act->getInList()) {
|
||||
if (obj == checkObj)
|
||||
return true;
|
||||
// if we reach the depth limit we have a cycle!
|
||||
if (depth <= 0) {
|
||||
throw Base::BadGraphError("DocumentObject::isInInListRecursive(): cyclic dependency detected!");
|
||||
}
|
||||
|
||||
if (_isInInListRecursive(obj, checkObj, depth - 1))
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
(void)act;
|
||||
(void)checkObj;
|
||||
(void)depth;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool DocumentObject::isInInListRecursive(DocumentObject *linkTo) const
|
||||
{
|
||||
int maxDepth = getDocument()->countObjects() + 2;
|
||||
return _isInInListRecursive(this, linkTo, maxDepth);
|
||||
}
|
||||
|
||||
bool DocumentObject::isInInList(DocumentObject *linkTo) const
|
||||
{
|
||||
#ifndef USE_OLD_DAG
|
||||
if (std::find(_inList.begin(), _inList.end(), linkTo) != _inList.end())
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
#else
|
||||
(void)linkTo;
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
// helper for isInOutListRecursive()
|
||||
bool _isInOutListRecursive(const DocumentObject* act,
|
||||
const DocumentObject* checkObj, int depth)
|
||||
{
|
||||
#ifndef USE_OLD_DAG
|
||||
for (auto obj : act->getOutList()) {
|
||||
if (obj == checkObj)
|
||||
return true;
|
||||
// if we reach the depth limit we have a cycle!
|
||||
if (depth <= 0) {
|
||||
throw Base::BadGraphError("DocumentObject::isInOutListRecursive(): cyclic dependency detected!");
|
||||
}
|
||||
|
||||
if (_isInOutListRecursive(obj, checkObj, depth - 1))
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
(void)act;
|
||||
(void)checkObj;
|
||||
(void)depth;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool DocumentObject::isInOutListRecursive(DocumentObject *linkTo) const
|
||||
{
|
||||
int maxDepth = getDocument()->countObjects() + 2;
|
||||
return _isInOutListRecursive(this, linkTo, maxDepth);
|
||||
}
|
||||
|
||||
std::vector<std::list<App::DocumentObject*> >
|
||||
DocumentObject::getPathsByOutList(App::DocumentObject* to) const
|
||||
{
|
||||
@@ -358,86 +480,6 @@ bool DocumentObject::testIfLinkDAGCompatible(PropertyLinkSub &linkTo) const
|
||||
return this->testIfLinkDAGCompatible(linkTo_in_vector);
|
||||
}
|
||||
|
||||
bool DocumentObject::_isInInListRecursive(const DocumentObject* /*act*/,
|
||||
const DocumentObject* test,
|
||||
const DocumentObject* checkObj, int depth) const
|
||||
{
|
||||
#ifndef USE_OLD_DAG
|
||||
if (std::find(_inList.begin(), _inList.end(), test) != _inList.end())
|
||||
return true;
|
||||
|
||||
for (auto obj : _inList){
|
||||
// if the check object is in the recursive inList we have a cycle!
|
||||
if (obj == checkObj || depth <= 0){
|
||||
std::cerr << "DocumentObject::getOutListRecursive(): cyclic dependency detected!" << std::endl;
|
||||
throw Base::RuntimeError("DocumentObject::getOutListRecursive(): cyclic dependency detected!");
|
||||
}
|
||||
|
||||
if (_isInInListRecursive(obj, test, checkObj, depth - 1))
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
(void)test;
|
||||
(void)checkObj;
|
||||
(void)depth;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool DocumentObject::isInInListRecursive(DocumentObject *linkTo) const
|
||||
{
|
||||
return _isInInListRecursive(this, linkTo, this, getDocument()->countObjects());
|
||||
}
|
||||
|
||||
bool DocumentObject::isInInList(DocumentObject *linkTo) const
|
||||
{
|
||||
#ifndef USE_OLD_DAG
|
||||
if (std::find(_inList.begin(), _inList.end(), linkTo) != _inList.end())
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
#else
|
||||
(void)linkTo;
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool DocumentObject::_isInOutListRecursive(const DocumentObject* act,
|
||||
const DocumentObject* test,
|
||||
const DocumentObject* checkObj, int depth) const
|
||||
{
|
||||
#ifndef USE_OLD_DAG
|
||||
std::vector <DocumentObject*> outList = act->getOutList();
|
||||
|
||||
if (std::find(outList.begin(), outList.end(), test) != outList.end())
|
||||
return true;
|
||||
|
||||
for (auto obj : outList){
|
||||
// if the check object is in the recursive inList we have a cycle!
|
||||
if (obj == checkObj || depth <= 0){
|
||||
std::cerr << "DocumentObject::isInOutListRecursive(): cyclic dependency detected!" << std::endl;
|
||||
throw Base::RuntimeError("DocumentObject::isInOutListRecursive(): cyclic dependency detected!");
|
||||
}
|
||||
|
||||
if (_isInOutListRecursive(obj, test, checkObj, depth - 1))
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
(void)act;
|
||||
(void)test;
|
||||
(void)checkObj;
|
||||
(void)depth;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool DocumentObject::isInOutListRecursive(DocumentObject *linkTo) const
|
||||
{
|
||||
return _isInOutListRecursive(this, linkTo, this, getDocument()->countObjects());
|
||||
}
|
||||
|
||||
void DocumentObject::onLostLinkToObject(DocumentObject*)
|
||||
{
|
||||
|
||||
@@ -454,10 +496,27 @@ void DocumentObject::setDocument(App::Document* doc)
|
||||
onSettingDocument();
|
||||
}
|
||||
|
||||
void DocumentObject::onAboutToRemoveProperty(const char* prop)
|
||||
void DocumentObject::onAboutToRemoveProperty(const char* name)
|
||||
{
|
||||
if (_pDoc)
|
||||
_pDoc->removePropertyOfObject(this, prop);
|
||||
if (_pDoc) {
|
||||
_pDoc->removePropertyOfObject(this, name);
|
||||
|
||||
Property* prop = getDynamicPropertyByName(name);
|
||||
if (prop) {
|
||||
auto expressions = ExpressionEngine.getExpressions();
|
||||
std::vector<App::ObjectIdentifier> removeExpr;
|
||||
|
||||
for (auto it : expressions) {
|
||||
if (it.first.getProperty() == prop) {
|
||||
removeExpr.push_back(it.first);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto it : removeExpr) {
|
||||
ExpressionEngine.setValue(it, boost::shared_ptr<Expression>());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void DocumentObject::onBeforeChange(const Property* prop)
|
||||
@@ -481,9 +540,13 @@ void DocumentObject::onChanged(const Property* prop)
|
||||
_pDoc->signalRelabelObject(*this);
|
||||
|
||||
// set object touched if it is an input property
|
||||
if (!(prop->getType() & Prop_Output))
|
||||
if (!(prop->getType() & Prop_Output)) {
|
||||
StatusBits.set(ObjectStatus::Touch);
|
||||
|
||||
// must execute on document recompute
|
||||
if (!(prop->getType() & Prop_NoRecompute))
|
||||
StatusBits.set(ObjectStatus::Enforce);
|
||||
}
|
||||
|
||||
//call the parent for appropriate handling
|
||||
TransactionalObject::onChanged(prop);
|
||||
}
|
||||
@@ -503,21 +566,6 @@ std::vector<PyObject *> DocumentObject::getPySubObjects(const std::vector<std::s
|
||||
return std::vector<PyObject *>();
|
||||
}
|
||||
|
||||
void DocumentObject::touch(void)
|
||||
{
|
||||
StatusBits.set(ObjectStatus::Touch);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check whether the document object is touched or not.
|
||||
* @return true if document object is touched, false if not.
|
||||
*/
|
||||
|
||||
bool DocumentObject::isTouched() const
|
||||
{
|
||||
return ExpressionEngine.isTouched() || StatusBits.test(ObjectStatus::Touch);
|
||||
}
|
||||
|
||||
void DocumentObject::Save (Base::Writer &writer) const
|
||||
{
|
||||
if (this->getNameInDocument())
|
||||
|
||||
+25
-20
@@ -33,7 +33,7 @@
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include <bitset>
|
||||
#include <boost/signals.hpp>
|
||||
#include <boost/signals2.hpp>
|
||||
|
||||
namespace App
|
||||
{
|
||||
@@ -51,6 +51,7 @@ enum ObjectStatus {
|
||||
Remove = 5,
|
||||
PythonCall = 6,
|
||||
Destroy = 7,
|
||||
Enforce = 8,
|
||||
Expand = 16
|
||||
};
|
||||
|
||||
@@ -105,13 +106,18 @@ public:
|
||||
/** Set the property touched -> changed, cause recomputation in Update()
|
||||
*/
|
||||
//@{
|
||||
/// set this feature touched (cause recomputation on depndend features)
|
||||
/// set this document object touched (cause recomputation on dependent features)
|
||||
void touch(void);
|
||||
/// test if this feature is touched
|
||||
/// test if this document object is touched
|
||||
bool isTouched(void) const;
|
||||
/// reset this feature touched
|
||||
/// Enforce this document object to be recomputed
|
||||
void enforceRecompute();
|
||||
/// Test if this document object must be recomputed
|
||||
bool mustRecompute(void) const;
|
||||
/// reset this document object touched
|
||||
void purgeTouched(void) {
|
||||
StatusBits.reset(ObjectStatus::Touch);
|
||||
StatusBits.reset(ObjectStatus::Enforce);
|
||||
setPropertyStatus(0,false);
|
||||
}
|
||||
/// set this feature to error
|
||||
@@ -133,7 +139,7 @@ public:
|
||||
|
||||
/** DAG handling
|
||||
This part of the interface deals with viewing the document as
|
||||
an DAG (directed acyclic graph).
|
||||
a DAG (directed acyclic graph).
|
||||
*/
|
||||
//@{
|
||||
/// returns a list of objects this object is pointing to by Links
|
||||
@@ -146,7 +152,7 @@ public:
|
||||
std::vector<std::list<App::DocumentObject*> > getPathsByOutList(App::DocumentObject* to) const;
|
||||
/// get all objects link to this object
|
||||
std::vector<App::DocumentObject*> getInList(void) const;
|
||||
/// get all objects link directly or indirectly to this object
|
||||
/// get all objects link directly or indirectly to this object
|
||||
std::vector<App::DocumentObject*> getInListRecursive(void) const;
|
||||
/// get group if object is part of a group, otherwise 0 is returned
|
||||
DocumentObjectGroup* getGroup() const;
|
||||
@@ -185,9 +191,12 @@ public:
|
||||
* We call this method to check if the object was modified to
|
||||
* be invoked. If the object label or an argument is modified.
|
||||
* If we must recompute the object - to call the method execute().
|
||||
* 0: no recompution is needed
|
||||
* 1: recompution needed
|
||||
* -1: the document examine all links of this object and if one is touched -> recompute
|
||||
* 0: no recomputation is needed
|
||||
* 1: recomputation needed
|
||||
*
|
||||
* @remark If an object is marked as 'touched' then this does not
|
||||
* necessarily mean that it will be recomputed. It only means that all
|
||||
* objects that link it (i.e. its InList) will be recomputed.
|
||||
*/
|
||||
virtual short mustExecute(void) const;
|
||||
|
||||
@@ -234,7 +243,7 @@ protected:
|
||||
/** get called by the document to recompute this feature
|
||||
* Normally this method get called in the processing of
|
||||
* Document::recompute().
|
||||
* In execute() the outpupt properties get recomputed
|
||||
* In execute() the output properties get recomputed
|
||||
* with the data from linked objects and objects own
|
||||
* properties.
|
||||
*/
|
||||
@@ -242,7 +251,7 @@ protected:
|
||||
|
||||
/** Status bits of the document object
|
||||
* The first 8 bits are used for the base system the rest can be used in
|
||||
* descendent classes to to mark special stati on the objects.
|
||||
* descendent classes to mark special statuses on the objects.
|
||||
* The bits and their meaning are listed below:
|
||||
* 0 - object is marked as 'touched'
|
||||
* 1 - object is marked as 'erroneous'
|
||||
@@ -275,31 +284,27 @@ protected:
|
||||
/// get called when object is going to be removed from the document
|
||||
virtual void unsetupObject();
|
||||
|
||||
/// python object of this class and all descendend
|
||||
/// python object of this class and all descendent
|
||||
protected: // attributes
|
||||
Py::Object PythonObject;
|
||||
/// pointer to the document this object belongs to
|
||||
App::Document* _pDoc;
|
||||
|
||||
// Connections to track relabeling of document and document objects
|
||||
boost::BOOST_SIGNALS_NAMESPACE::scoped_connection onRelabledDocumentConnection;
|
||||
boost::BOOST_SIGNALS_NAMESPACE::scoped_connection onRelabledObjectConnection;
|
||||
boost::BOOST_SIGNALS_NAMESPACE::scoped_connection onDeletedObjectConnection;
|
||||
boost::signals2::scoped_connection onRelabledDocumentConnection;
|
||||
boost::signals2::scoped_connection onRelabledObjectConnection;
|
||||
boost::signals2::scoped_connection onDeletedObjectConnection;
|
||||
|
||||
/// Old label; used for renaming expressions
|
||||
std::string oldLabel;
|
||||
|
||||
// pointer to the document name string (for performance)
|
||||
const std::string *pcNameInDocument;
|
||||
|
||||
|
||||
private:
|
||||
// Back pointer to all the fathers in a DAG of the document
|
||||
// this is used by the document (via friend) to have a effective DAG handling
|
||||
std::vector<App::DocumentObject*> _inList;
|
||||
// helper for isInInListRecursive()
|
||||
bool _isInInListRecursive(const DocumentObject *act, const DocumentObject* test, const DocumentObject* checkObj, int depth) const;
|
||||
// helper for isInOutListRecursive()
|
||||
bool _isInOutListRecursive(const DocumentObject *act, const DocumentObject* test, const DocumentObject* checkObj, int depth) const;
|
||||
};
|
||||
|
||||
} //namespace App
|
||||
|
||||
@@ -45,6 +45,11 @@
|
||||
<UserDocu>Mark the object as unchanged</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="enforceRecompute">
|
||||
<Documentation>
|
||||
<UserDocu>Mark the object for recompute</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="setExpression">
|
||||
<Documentation>
|
||||
<UserDocu>Register an expression for a property</UserDocu>
|
||||
|
||||
@@ -146,6 +146,14 @@ PyObject* DocumentObjectPy::purgeTouched(PyObject * args)
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* DocumentObjectPy::enforceRecompute(PyObject * args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
getDocumentObjectPtr()->enforceRecompute();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Py::List DocumentObjectPy::getState(void) const
|
||||
{
|
||||
DocumentObject* object = this->getDocumentObjectPtr();
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
#include <boost/signals.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#include "Application.h"
|
||||
@@ -47,6 +46,11 @@ DocumentT::DocumentT(Document* doc)
|
||||
document = doc->getName();
|
||||
}
|
||||
|
||||
DocumentT::DocumentT(const std::string& name)
|
||||
{
|
||||
document = name;
|
||||
}
|
||||
|
||||
DocumentT::~DocumentT()
|
||||
{
|
||||
}
|
||||
@@ -63,6 +67,11 @@ void DocumentT::operator=(const Document* doc)
|
||||
document = doc->getName();
|
||||
}
|
||||
|
||||
void DocumentT::operator=(const std::string& name)
|
||||
{
|
||||
document = name;
|
||||
}
|
||||
|
||||
Document* DocumentT::getDocument() const
|
||||
{
|
||||
return GetApplication().getDocument(document.c_str());
|
||||
@@ -78,10 +87,10 @@ std::string DocumentT::getDocumentPython() const
|
||||
std::stringstream str;
|
||||
Document* doc = GetApplication().getActiveDocument();
|
||||
if (doc && document == doc->getName()) {
|
||||
str << "FreeCAD.ActiveDocument";
|
||||
str << "App.ActiveDocument";
|
||||
}
|
||||
else {
|
||||
str << "FreeCAD.getDocument(\""
|
||||
str << "App.getDocument(\""
|
||||
<< document
|
||||
<< "\")";
|
||||
}
|
||||
@@ -136,10 +145,10 @@ std::string DocumentObjectT::getDocumentPython() const
|
||||
std::stringstream str;
|
||||
Document* doc = GetApplication().getActiveDocument();
|
||||
if (doc && document == doc->getName()) {
|
||||
str << "FreeCAD.ActiveDocument";
|
||||
str << "App.ActiveDocument";
|
||||
}
|
||||
else {
|
||||
str << "FreeCAD.getDocument(\""
|
||||
str << "App.getDocument(\""
|
||||
<< document
|
||||
<< "\")";
|
||||
}
|
||||
@@ -171,10 +180,10 @@ std::string DocumentObjectT::getObjectPython() const
|
||||
std::stringstream str;
|
||||
Document* doc = GetApplication().getActiveDocument();
|
||||
if (doc && document == doc->getName()) {
|
||||
str << "FreeCAD.ActiveDocument.";
|
||||
str << "App.ActiveDocument.";
|
||||
}
|
||||
else {
|
||||
str << "FreeCAD.getDocument(\""
|
||||
str << "App.getDocument(\""
|
||||
<< document
|
||||
<< "\").";
|
||||
}
|
||||
@@ -228,6 +237,10 @@ void DocumentObserver::attachDocument(Document* doc)
|
||||
(&DocumentObserver::slotDeletedObject, this, _1));
|
||||
this->connectDocumentChangedObject = _document->signalChangedObject.connect(boost::bind
|
||||
(&DocumentObserver::slotChangedObject, this, _1, _2));
|
||||
this->connectDocumentRecomputedObject = _document->signalRecomputedObject.connect(boost::bind
|
||||
(&DocumentObserver::slotRecomputedObject, this, _1));
|
||||
this->connectDocumentRecomputed = _document->signalRecomputed.connect(boost::bind
|
||||
(&DocumentObserver::slotRecomputedDocument, this, _1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,6 +251,8 @@ void DocumentObserver::detachDocument()
|
||||
this->connectDocumentCreatedObject.disconnect();
|
||||
this->connectDocumentDeletedObject.disconnect();
|
||||
this->connectDocumentChangedObject.disconnect();
|
||||
this->connectDocumentRecomputedObject.disconnect();
|
||||
this->connectDocumentRecomputed.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,6 +276,15 @@ void DocumentObserver::slotChangedObject(const App::DocumentObject& /*Obj*/, con
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentObserver::slotRecomputedObject(const DocumentObject& /*Obj*/)
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentObserver::slotRecomputedDocument(const Document& /*doc*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
DocumentObjectObserver::DocumentObjectObserver()
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define APP_DOCUMENTOBSERVER_H
|
||||
|
||||
#include <Base/BaseClass.h>
|
||||
#include <boost/signals.hpp>
|
||||
#include <boost/signals2.hpp>
|
||||
#include <set>
|
||||
|
||||
namespace App
|
||||
@@ -48,12 +48,16 @@ public:
|
||||
DocumentT();
|
||||
/*! Constructor */
|
||||
DocumentT(Document*);
|
||||
/*! Constructor */
|
||||
DocumentT(const std::string&);
|
||||
/*! Destructor */
|
||||
~DocumentT();
|
||||
/*! Assignment operator */
|
||||
void operator=(const DocumentT&);
|
||||
/*! Assignment operator */
|
||||
void operator=(const Document*);
|
||||
/*! Assignment operator */
|
||||
void operator=(const std::string&);
|
||||
|
||||
/*! Get a pointer to the document or 0 if it doesn't exist any more. */
|
||||
Document* getDocument() const;
|
||||
@@ -151,18 +155,24 @@ private:
|
||||
virtual void slotDeletedObject(const App::DocumentObject& Obj);
|
||||
/** The property of an observed object has changed */
|
||||
virtual void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop);
|
||||
/** Called when a given object is recomputed */
|
||||
virtual void slotRecomputedObject(const App::DocumentObject& Obj);
|
||||
/** Called when a observed document is recomputed */
|
||||
virtual void slotRecomputedDocument(const App::Document& Doc);
|
||||
|
||||
protected:
|
||||
Document* getDocument() const;
|
||||
|
||||
private:
|
||||
App::Document* _document;
|
||||
typedef boost::signals::connection Connection;
|
||||
typedef boost::signals2::connection Connection;
|
||||
Connection connectApplicationCreatedDocument;
|
||||
Connection connectApplicationDeletedDocument;
|
||||
Connection connectDocumentCreatedObject;
|
||||
Connection connectDocumentDeletedObject;
|
||||
Connection connectDocumentChangedObject;
|
||||
Connection connectDocumentRecomputedObject;
|
||||
Connection connectDocumentRecomputed;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user